@font-face {
  font-family: "EB Garamond";
  src: url("./assets/fonts/eb-garamond-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "Jost";
  src: url("./assets/fonts/jost-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6efe2;
  --paper-light: #fcf9f2;
  --ink: #392e22;
  --muted: #75695b;
  --gold: #a8792e;
  --gold-light: #ddc18a;
  --line: rgba(57, 46, 34, .16);
  --serif: "EB Garamond", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Jost", "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}

body {
  margin: 0;
  background: var(--paper-light);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: .08em;
  text-underline-offset: .22em;
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 5px;
}

.shell,
.section-shell {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 30;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--paper-light);
}

.header-inner {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
  line-height: 1;
}

.brand-name {
  display: grid;
  line-height: 1.08;
}

.brand-name span {
  color: rgba(252, 249, 242, .75);
  font-size: .6rem;
  letter-spacing: .19em;
}

.brand-name strong {
  color: var(--paper-light);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 42px);
}

.desktop-link {
  color: rgba(252, 249, 242, .92);
  font-size: .76rem;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease;
}

.desktop-link:hover {
  color: var(--gold-light);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(680px, 100svh, 940px);
  overflow: hidden;
  place-items: center;
  padding: 130px 32px 92px;
  background: #493a2a;
  color: var(--paper-light);
  text-align: center;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-color: #493a2a;
  background-image:
    linear-gradient(180deg, rgba(40, 28, 18, .25) 0%, rgba(40, 28, 18, .42) 46%, rgba(30, 22, 15, .84) 100%),
    url("./assets/hero.jpg");
  background-position: center;
  background-size: cover;
}

.hero::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 38%, rgba(204, 160, 91, .16), transparent 52%);
  content: "";
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  margin-top: 8px;
}

.hero-eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .21em;
  line-height: 1.5;
  text-transform: uppercase;
}

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

.hero h1 {
  margin: 0 0 13px;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(4.1rem, 9vw, 7.7rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: .83;
}

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

.hero-lead {
  margin: 27px auto 32px;
  color: rgba(252, 249, 242, .94);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 400;
  letter-spacing: .025em;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  border: 1px solid transparent;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .17em;
  line-height: 1.2;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.button-light {
  background: var(--paper-light);
  color: var(--ink);
}

.button-light:hover {
  border-color: var(--paper-light);
  background: transparent;
  color: var(--paper-light);
}

.scroll-cue {
  position: absolute;
  z-index: 1;
  bottom: 25px;
  left: 50%;
  display: grid;
  width: 32px;
  height: 42px;
  place-items: start center;
  transform: translateX(-50%);
  border: 1px solid rgba(252, 249, 242, .55);
  border-radius: 20px;
}

.scroll-cue span {
  width: 1px;
  height: 9px;
  margin-top: 8px;
  background: var(--gold-light);
}

.intro {
  max-width: 790px;
  padding-block: 116px 54px;
  text-align: center;
}

.intro h2,
.section-heading h2,
.legal-section h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
}

.intro h2 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 6vw, 4.8rem);
  letter-spacing: -.035em;
  line-height: .96;
}

.intro h2 em {
  color: var(--gold);
  font-weight: 400;
}

.intro-copy {
  max-width: 660px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  font-weight: 300;
  line-height: 1.8;
}

.studio {
  padding-bottom: 112px;
}

.studio-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.studio-photo {
  position: relative;
  display: flex;
  min-height: 360px;
  align-items: flex-end;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 0;
  background-color: #e7d9c1;
  background-image:
    linear-gradient(180deg, transparent 58%, rgba(44, 31, 18, .58)),
    var(--photo-image);
  background-position: center;
  background-size: cover;
  cursor: zoom-in;
  text-align: left;
}

.studio-photo:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.studio-photo figcaption,
.studio-photo-caption {
  padding: 22px 25px;
  color: white;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.gallery {
  padding-block: 82px 116px;
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 45px;
  text-align: center;
}

.section-heading .section-kicker {
  margin-bottom: 9px;
}

.section-heading h2 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  letter-spacing: -.035em;
  line-height: 1;
}

.section-heading > p:last-child {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 300;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery-item {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 0;
  place-items: center;
  cursor: zoom-in;
  background-color: #eee4d2;
  background-image:
    linear-gradient(145deg, rgba(252, 249, 242, .08), rgba(100, 69, 32, .14)),
    var(--gallery-image);
  background-position: center;
  background-size: cover;
  transition: transform .3s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.gallery-dialog {
  position: fixed;
  width: min(92vw, 1100px);
  max-width: none;
  max-height: 92vh;
  padding: 48px 12px 12px;
  overflow: visible;
  border: 1px solid rgba(252, 249, 242, .2);
  background: var(--ink);
}

.gallery-dialog::backdrop {
  background: rgba(20, 16, 12, .88);
}

.gallery-dialog-image {
  display: block;
  width: 100%;
  max-height: calc(92vh - 60px);
  object-fit: contain;
}

.gallery-dialog-close {
  position: absolute;
  top: 10px;
  right: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(252, 249, 242, .45);
  background: transparent;
  color: var(--paper-light);
  cursor: pointer;
  font: inherit;
  font-size: .75rem;
}

.gallery-dialog-close:hover,
.gallery-dialog-close:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.contact {
  padding-block: 91px 98px;
  background: var(--ink);
  color: var(--paper-light);
}

.prices {
  padding-block: 88px 104px;
}

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

.price-table {
  width: min(100%, 760px);
  margin-inline: auto;
  border-collapse: collapse;
  color: var(--ink);
  font-size: .98rem;
  line-height: 1.5;
}

.price-table th,
.price-table td {
  padding: 8px 14px;
}

.price-table tr:not(.price-category) th {
  font-weight: 400;
  text-align: left;
}

.price-table td {
  color: var(--gold);
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

.price-category th {
  padding-block: 8px;
  background: #efe3d8;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-align: center;
  text-transform: uppercase;
}

.price-category:not(:first-child) th {
  padding-top: 12px;
}

.contact .section-heading {
  margin-bottom: 48px;
}

.contact .section-heading h2 {
  color: var(--paper-light);
}

.contact .section-kicker {
  color: var(--gold-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(252, 249, 242, .25);
}

.contact-item {
  min-height: 210px;
  padding: 28px clamp(18px, 3.2vw, 48px) 0;
  border-right: 1px solid rgba(252, 249, 242, .2);
  text-align: center;
}

.contact-item:first-child {
  padding-left: 0;
}

.contact-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.contact-number {
  color: var(--gold-light);
  font-size: .65rem;
  letter-spacing: .15em;
}

.contact-item h3 {
  margin: 8px 0 12px;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 400;
}

.contact-item p,
.contact-item address,
.contact-value {
  margin: 0;
  color: rgba(252, 249, 242, .9);
  font-size: .95rem;
  font-style: normal;
}

.contact-value {
  font-size: 1.08rem;
  text-decoration: none;
}

.contact-item p {
  margin-top: 8px;
}

.contact-detail-link {
  display: inline-block;
  margin-top: 11px;
  color: var(--gold-light);
  font-size: .78rem;
}

.site-footer {
  padding-top: 62px;
  background: var(--paper);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 48px;
}

.footer-brand img {
  width: 166px;
  height: 166px;
  object-fit: contain;
}

.footer-social {
  text-align: right;
}

.footer-social .section-kicker {
  margin-bottom: 13px;
}

.footer-social nav {
  display: flex;
  justify-content: flex-end;
  gap: 11px;
}

.social-link {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(168, 121, 46, .48);
  border-radius: 50%;
  color: var(--gold);
  transition: background .2s ease, color .2s ease;
}

.social-link:hover {
  background: var(--gold);
  color: var(--paper-light);
}

.social-link svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.social-link:nth-child(2) svg,
.social-link:nth-child(3) svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.social-link .icon-dot {
  fill: currentColor;
  stroke: none;
}

.social-link-disabled {
  opacity: .45;
}

.footer-phone {
  display: inline-block;
  margin-top: 16px;
  color: var(--ink);
  font-size: .86rem;
  text-decoration: none;
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(38px, 7vw, 96px);
  padding-block: 39px 45px;
  border-top: 1px solid var(--line);
}

.legal-section .section-kicker {
  margin-bottom: 8px;
}

.legal-section h2 {
  margin-bottom: 18px;
  font-size: 2rem;
}

.legal-address {
  margin-bottom: 17px;
  font-size: .82rem;
  font-style: normal;
  line-height: 1.75;
}

.legal-address strong {
  font-weight: 600;
}

.legal-list {
  margin: 0;
  font-size: .78rem;
}

.legal-list div {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.legal-list dt {
  color: var(--muted);
}

.legal-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.legal-section > p:not(.section-kicker) {
  margin: 0 0 12px;
  color: #655b50;
  font-size: .76rem;
  line-height: 1.75;
}

.legal-section > p:last-child {
  margin-bottom: 0;
}

.legal-section a,
.legal-list a {
  text-decoration-color: rgba(168, 121, 46, .55);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 17px 21px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .64rem;
  letter-spacing: .11em;
}

.footer-bottom > div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  letter-spacing: 0;
}

.footer-bottom a {
  text-decoration: none;
}

@media (max-width: 800px) {
  .shell,
  .section-shell {
    width: min(100% - 44px, 1240px);
  }

  .header-inner {
    min-height: 88px;
  }

  .desktop-link {
    font-size: .68rem;
    letter-spacing: .08em;
  }

  .main-nav {
    gap: 19px;
  }

  .studio-photo {
    min-height: 300px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-item {
    padding-inline: 18px;
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 1rem;
  }

  .shell,
  .section-shell {
    width: min(100% - 36px, 1240px);
  }

  .header-inner {
    min-height: 78px;
  }

  .brand-mark {
    width: 39px;
    height: 39px;
    font-size: 1.7rem;
  }

  .brand-name span {
    font-size: .53rem;
  }

  .brand-name strong {
    font-size: 1.35rem;
  }

  .desktop-link {
    display: none;
  }

  .mobile-menu {
    position: relative;
    display: block;
  }

  .mobile-menu summary {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .menu-icon {
    display: grid;
    width: 24px;
    gap: 6px;
  }

  .menu-icon span {
    height: 1px;
    background: currentColor;
  }

  .mobile-menu-panel {
    position: absolute;
    top: 52px;
    right: 0;
    display: grid;
    min-width: 190px;
    gap: 0;
    padding: 8px 0;
    background: #34271c;
    box-shadow: 0 14px 34px rgba(20, 14, 9, .25);
  }

  .mobile-menu-panel a {
    padding: 11px 18px;
    color: var(--paper-light);
    font-size: .8rem;
    letter-spacing: .08em;
    text-decoration: none;
  }

  .mobile-menu-panel a:hover {
    background: rgba(221, 193, 138, .12);
  }

  .hero {
    min-height: max(680px, 100svh);
    padding: 112px 20px 80px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 15vw, 5.6rem);
  }

  .hero-lead {
    max-width: 320px;
    margin-block: 24px 28px;
  }

  .button {
    min-height: 55px;
    padding-inline: 25px;
    font-size: .74rem;
  }

  .intro {
    padding-block: 84px 38px;
  }

  .intro h2 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .studio {
    padding-bottom: 75px;
  }

  .studio-photos {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .studio-photo {
    min-height: 280px;
  }

  .gallery {
    padding-block: 65px 80px;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .contact {
    padding-block: 70px 74px;
  }

  .prices {
    padding-block: 65px 80px;
  }

  .price-table {
    font-size: .9rem;
  }

  .price-table th,
  .price-table td {
    padding-inline: 8px;
  }

  .contact .section-heading {
    margin-bottom: 34px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-item,
  .contact-item:first-child,
  .contact-item:last-child {
    min-height: auto;
    padding: 21px 0 25px;
    border-right: 0;
    border-bottom: 1px solid rgba(252, 249, 242, .2);
  }

  .contact-item:last-child {
    border-bottom: 0;
  }

  .site-footer {
    padding-top: 42px;
  }

  .footer-main {
    align-items: center;
    flex-direction: column;
    gap: 18px;
    padding-bottom: 35px;
  }

  .footer-brand img {
    width: 142px;
    height: 142px;
  }

  .footer-social {
    text-align: center;
  }

  .footer-social nav {
    justify-content: center;
  }

  .legal-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 32px 38px;
  }

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

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
