:root {
  --black: #080808;
  --near-black: #11100f;
  --cream: #f5f1eb;
  --warm-white: #fcfaf7;
  --white: #ffffff;
  --taupe: #c5a98c;
  --taupe-light: #eadbc9;
  --muted: #78726b;
  --border: rgba(30, 25, 20, 0.14);
  --dark-border: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 60px rgba(22, 18, 14, 0.12);
  --serif: "Italiana", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --page-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--near-black);
  background: var(--warm-white);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition:
    background 200ms ease,
    border-color 200ms ease,
    transform 200ms ease;
}

.site-header.scrolled {
  position: fixed;
  background: rgba(8, 8, 8, 0.94);
  border-bottom-color: var(--dark-border);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(calc(100% - 48px), var(--page-width));
  min-height: 88px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}

.brand {
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.navigation a {
  position: relative;
  padding: 12px 0;
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.navigation a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--taupe-light);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.navigation a:hover::after,
.navigation a.active::after {
  transform: scaleX(1);
}

.header-button {
  padding: 13px 23px;
  color: var(--black);
  background: var(--taupe-light);
  border-radius: 999px;
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.header-button:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.81) 42%,
      rgba(0, 0, 0, 0.32) 72%,
      rgba(0, 0, 0, 0.2) 100%
    ),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=88")
    center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 80% 45%,
      transparent 0,
      rgba(0, 0, 0, 0.08) 35%,
      rgba(0, 0, 0, 0.4) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), var(--page-width));
  margin: 0 auto;
  padding-top: 110px;
}

.eyebrow {
  margin-bottom: 18px;
  color: #a57e5c;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--taupe-light);
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: clamp(4rem, 7vw, 7rem);
  letter-spacing: -0.025em;
}

.hero h1 em {
  color: var(--taupe-light);
  font-weight: 400;
}

.hero-description {
  max-width: 610px;
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--black);
  background: var(--taupe-light);
}

.button-primary:hover {
  background: var(--white);
}

.button-outline {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.72);
}

.button-outline:hover {
  color: var(--black);
  background: var(--white);
}

.scroll-indicator {
  position: absolute;
  right: 42px;
  bottom: 34px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section {
  padding: 110px 24px;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 55px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 4vw, 4.25rem);
}

.section-heading > p:last-child {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
}

.services-section {
  background:
    radial-gradient(circle at top left, #fff 0, transparent 34%),
    var(--warm-white);
}

.service-grid {
  width: min(100%, var(--page-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  box-shadow: 0 10px 35px rgba(40, 32, 24, 0.05);
  transition:
    transform 230ms ease,
    box-shadow 230ms ease;
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.service-image {
  min-height: 290px;
  background-position: center;
  background-size: cover;
  transition: transform 500ms ease;
}

.service-card:hover .service-image {
  transform: scale(1.035);
}

.website-image {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.14)),
    url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1100&q=85");
}

.card-image {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.24)),
    url("https://images.unsplash.com/photo-1586953208448-b95a79798f07?auto=format&fit=crop&w=1100&q=85");
}

.cake-image {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.08)),
    url("https://images.unsplash.com/photo-1578985545062-69928b1d9587?auto=format&fit=crop&w=1100&q=85");
}

.service-content {
  position: relative;
  padding: 40px 34px 34px;
}

.service-icon {
  position: absolute;
  top: -27px;
  left: 28px;
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  background: var(--cream);
  border: 5px solid var(--white);
  border-radius: 50%;
  font-size: 1.35rem;
}

.service-number {
  margin-bottom: 12px;
  color: var(--taupe);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.service-content h3 {
  margin-bottom: 14px;
  font-size: 2rem;
}

.service-content > p:not(.service-number) {
  min-height: 82px;
  color: var(--muted);
  font-size: 0.95rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  color: var(--near-black);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(6px);
}

.portfolio-section {
  padding: 110px 24px;
  color: var(--white);
  background: var(--black);
}

.portfolio-intro {
  width: min(100%, var(--page-width));
  margin: 0 auto 50px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 60px;
}

.portfolio-intro h2 {
  margin-bottom: 0;
  font-size: clamp(2.7rem, 4vw, 4.6rem);
}

.portfolio-intro > p {
  max-width: 500px;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.62);
}

.portfolio-grid {
  width: min(100%, var(--page-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  grid-template-rows: repeat(2, 330px);
  gap: 20px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.portfolio-item::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.86),
    rgba(0, 0, 0, 0.04) 68%
  );
}

.portfolio-large {
  grid-row: 1 / 3;
  background-image: url("https://images.unsplash.com/photo-1460661419201-fd4cecdf8a8b?auto=format&fit=crop&w=1300&q=85");
}

.portfolio-print {
  background-image: url("https://images.unsplash.com/photo-1561070791-2526d30994b5?auto=format&fit=crop&w=1000&q=85");
}

.portfolio-cake {
  background-image: url("https://images.unsplash.com/photo-1558301211-0d8c8ddee6ec?auto=format&fit=crop&w=1000&q=85");
}

.portfolio-label {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  z-index: 2;
}

.portfolio-label span {
  display: block;
  margin-bottom: 8px;
  color: var(--taupe-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.portfolio-label strong {
  display: block;
  max-width: 550px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.8rem);
  font-weight: 400;
  line-height: 1.12;
}

.process-section {
  background: var(--cream);
}

.process-grid {
  position: relative;
  width: min(100%, 1160px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.process-grid::before {
  position: absolute;
  top: 47px;
  right: 11%;
  left: 11%;
  height: 1px;
  content: "";
  background: rgba(57, 46, 37, 0.14);
}

.process-step {
  position: relative;
  z-index: 2;
  text-align: center;
}

.step-number {
  position: absolute;
  top: 35px;
  left: calc(50% - 65px);
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  color: var(--near-black);
  background: #d9c1a7;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 600;
}

.step-icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 25px;
  display: grid;
  place-items: center;
  background: var(--warm-white);
  border-radius: 50%;
  font-size: 1.55rem;
}

.process-step h3 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.process-step p {
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-section {
  position: relative;
  padding: 110px 24px;
  color: var(--white);
  background:
    url("https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=1800&q=80")
    center / cover no-repeat;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.98),
      rgba(5, 5, 5, 0.9) 55%,
      rgba(5, 5, 5, 0.75)
    );
}

.contact-content {
  position: relative;
  z-index: 2;
  width: min(100%, var(--page-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 90px;
}

.contact-content h2 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 5vw, 5.5rem);
}

.contact-content > div > p:last-child {
  max-width: 470px;
  color: rgba(255, 255, 255, 0.66);
}

.contact-form {
  padding: 42px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--dark-border);
  backdrop-filter: blur(18px);
}

.contact-form label {
  display: block;
  margin-bottom: 21px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 9px;
  padding: 14px 0;
  color: var(--white);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  outline: none;
  transition: border-color 180ms ease;
}

.contact-form select {
  color-scheme: dark;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--taupe-light);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
  text-transform: none;
}

.form-button {
  margin-top: 6px;
  border: 0;
}

.form-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.72rem;
}

.footer {
  padding: 70px max(24px, calc((100% - var(--page-width)) / 2));
  color: rgba(255, 255, 255, 0.72);
  background: var(--black);
  border-top: 1px solid var(--dark-border);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 45px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--white);
}

.footer p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

.footer-links a,
.footer-bottom a {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--white);
}

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--dark-border);
  font-size: 0.78rem;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--black);
  background: var(--taupe-light);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .header-button {
    display: none;
  }

  .menu-button {
    width: 46px;
    height: 46px;
    display: grid;
    place-content: center;
    gap: 7px;
    padding: 0;
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    cursor: pointer;
  }

  .menu-button span {
    width: 19px;
    height: 1px;
    display: block;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .navigation {
    position: fixed;
    top: 88px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    background: rgba(8, 8, 8, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .navigation.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .navigation a {
    font-size: 1rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
    max-width: 650px;
  }

  .service-content > p:not(.service-number) {
    min-height: auto;
  }

  .portfolio-intro,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .portfolio-intro {
    gap: 20px;
  }

  .contact-content {
    gap: 45px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 55px 30px;
  }

  .process-grid::before {
    display: none;
  }
}

@media (max-width: 700px) {
  .header-inner {
    width: min(calc(100% - 32px), var(--page-width));
    min-height: 76px;
  }

  .brand {
    font-size: 1.12rem;
  }

  .navigation {
    top: 76px;
  }

  .hero {
    min-height: 730px;
    background-position: 62% center;
  }

  .hero-content {
    width: min(calc(100% - 32px), var(--page-width));
    padding-top: 96px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 16vw, 5.2rem);
  }

  .hero-description {
    font-size: 0.98rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .scroll-indicator {
    display: none;
  }

  .section,
  .portfolio-section,
  .contact-section {
    padding: 82px 16px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2 {
    font-size: 2.65rem;
  }

  .service-image {
    min-height: 245px;
  }

  .service-content {
    padding: 38px 26px 29px;
  }

  .portfolio-grid {
    display: flex;
    flex-direction: column;
  }

  .portfolio-item {
    min-height: 390px;
  }

  .portfolio-large {
    min-height: 500px;
  }

  .portfolio-label {
    right: 22px;
    bottom: 22px;
    left: 22px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .step-number {
    left: calc(50% - 64px);
  }

  .contact-form {
    padding: 28px 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer {
    padding: 55px 22px 35px;
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: column;
    gap: 13px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}