:root {
  --ink: #1c1715;
  --muted: #756b66;
  --paper: #fbf8f4;
  --line: #e9dfd6;
  --cream: #f4ece3;
  --shadow: 0 22px 70px rgba(36, 25, 18, 0.09);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at top left, rgba(227, 199, 180, 0.45), transparent 34rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(244, 236, 227, 0.68));
}

body::after {
  content: "";
  position: fixed;
  top: -8rem;
  right: -8rem;
  z-index: -1;
  width: min(70vw, 34rem);
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(214, 179, 160, 0.22);
  filter: blur(8px);
}

a {
  color: inherit;
}

.site-header,
.site-footer,
main {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  display: grid;
  gap: 2rem;
  padding: 2rem 0 3.5rem;
}

.brand {
  display: inline-grid;
  width: fit-content;
  gap: 0.1rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.brand span:first-child {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 4vw, 3.4rem);
  letter-spacing: 0.08em;
  line-height: 0.95;
}

.brand span:last-child,
.eyebrow {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.intro,
.specialties {
  margin: 0;
}

.intro {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.specialties {
  display: none;
}

.portfolio {
  padding-bottom: 4rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.eyebrow {
  margin: 0;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 7rem);
  line-height: 0.9;
  text-align: right;
}

.cover-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.cover,
.hero-image {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.cover {
  display: grid;
  min-height: 0;
  aspect-ratio: 1;
  place-items: end start;
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 1.1rem;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.cover::before,
.hero-image::before {
  content: "";
  position: absolute;
  inset: 8%;
  z-index: -1;
  border-radius: 45% 45% 40% 40%;
  background:
    radial-gradient(circle at 48% 28%, rgba(255, 255, 255, 0.72) 0 10%, transparent 11%),
    radial-gradient(ellipse at 50% 28%, rgba(74, 51, 43, 0.34), transparent 18%),
    linear-gradient(180deg, rgba(255, 235, 220, 0.82), rgba(127, 82, 68, 0.5));
  filter: saturate(0.95);
  transform: translateY(3%);
}

.cover::after,
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, transparent 52%, rgba(28, 23, 21, 0.48)),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.52), transparent 9rem);
}

.cover:hover,
.cover:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 26px 80px rgba(36, 25, 18, 0.14);
}

.cover span {
  color: #fffaf6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 9vw, 2.6rem);
  line-height: 0.92;
  max-width: 8ch;
  text-shadow: 0 2px 18px rgba(28, 23, 21, 0.35);
}

.cover-aurora,
.hero-aurora {
  background: linear-gradient(135deg, #ead4c6, #b68b7e 52%, #503931);
}

.cover-velvet,
.hero-velvet {
  background: linear-gradient(135deg, #d8c7c0, #80646a 52%, #251f27);
}

.cover-bronze,
.hero-bronze {
  background: linear-gradient(135deg, #e8c39c, #a66a43 52%, #3d2418);
}

.cover-petal,
.hero-petal {
  background: linear-gradient(135deg, #f2d7d9, #cf9299 52%, #59333a);
}

.cover-noir,
.hero-noir {
  background: linear-gradient(135deg, #d8d0ca, #6a5d59 52%, #171412);
}

.cover-pearl,
.hero-pearl {
  background: linear-gradient(135deg, #f7f0e7, #c6b6a9 52%, #66584f);
}

.cover-sienna,
.hero-sienna {
  background: linear-gradient(135deg, #f0d1b5, #b97054 52%, #52291f);
}

.cover-linen,
.hero-linen {
  background: linear-gradient(135deg, #f5efe4, #d7c8b5 52%, #826f5e);
}

.case-main {
  padding-bottom: 4rem;
}

.case-article {
  display: grid;
  gap: 2rem;
}

.back-link {
  width: fit-content;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-image {
  min-height: clamp(360px, 58vw, 700px);
  border-radius: 0;
}

.case-copy {
  display: grid;
  gap: 1rem;
  max-width: 760px;
}

.case-copy h1 {
  text-align: left;
}

.case-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 1.3rem 0 2rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  transition: border-color 180ms ease, transform 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.social-links svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
}

@media (min-width: 720px) {
  .site-header {
    grid-template-columns: 1fr minmax(280px, 520px);
    align-items: end;
    padding-top: 3rem;
  }

  .cover-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .cover span {
    font-size: clamp(1.25rem, 2.5vw, 2.1rem);
  }

  .case-article {
    gap: 2.8rem;
  }
}

@media (max-width: 719px) {
  .site-header {
    position: relative;
    gap: 1.35rem;
    width: min(100% - 32px, 31rem);
    margin-top: 1rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(233, 223, 214, 0.9);
    border-radius: 28px;
    padding: 1.45rem 1.25rem 1.55rem;
    background:
      linear-gradient(145deg, rgba(255, 250, 246, 0.88), rgba(244, 236, 227, 0.64)),
      radial-gradient(circle at 92% 8%, rgba(214, 179, 160, 0.48), transparent 9rem);
    box-shadow: 0 18px 60px rgba(36, 25, 18, 0.08);
  }

  .specialties {
    display: block;
    width: fit-content;
    border: 1px solid rgba(117, 107, 102, 0.18);
    border-radius: 999px;
    padding: 0.55rem 0.75rem;
    background: rgba(255, 255, 255, 0.52);
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1;
    text-transform: uppercase;
  }

  .brand {
    gap: 0.25rem;
    letter-spacing: 0.11em;
  }

  .brand span:first-child {
    max-width: 8.5ch;
    font-size: clamp(3rem, 16vw, 4.5rem);
    letter-spacing: 0.035em;
    line-height: 0.82;
  }

  .brand span:last-child {
    font-size: 0.76rem;
    letter-spacing: 0.27em;
  }

  .intro {
    max-width: 20rem;
    font-size: clamp(1.17rem, 5vw, 1.42rem);
    line-height: 1.42;
  }

  .portfolio {
    padding-bottom: 3rem;
  }

  .section-heading {
    display: grid;
    align-items: start;
    gap: 1rem;
    padding-top: 1.25rem;
  }

  h1 {
    text-align: left;
  }
}
