@font-face {
  font-family: 'Kugile';
  src: url('assets/fonts/Kugile.woff2') format('woff2'),
       url('assets/fonts/Kugile.woff') format('woff'),
       url('assets/fonts/Kugile.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Design tokens */
:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-gold: #FFA300;
  --color-gold-dark: #d49a4a;
  --color-peach: #fde2b2;
  --color-text: #1a1a1a;
  --color-muted: #555555;
  --font-serif: 'Kugile', Georgia, 'Times New Roman', serif;
  --font-sans: 'Montserrat', system-ui, sans-serif;
  --font-cta: 'Roboto Serif', Georgia, serif;
  --header-height: 112px;
  --section-pad: clamp(3rem, 6vw, 5.5rem);
  --container: min(1140px, 92vw);
  --radius-btn: 999px;
  --radius-card: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-white);
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 1.25rem;
  color: var(--color-black);
  line-height: 1.2;
}

.section-title--center {
  text-align: center;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(12, 12, 12, 0.82);
  backdrop-filter: blur(6px);
  transition: background 0.3s, box-shadow 0.3s;
  /* Positioning context for centered nav */
  isolation: isolate;
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.site-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.site-nav .nav-list {
  pointer-events: auto;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}

.logo-img {
  display: block;
  width: clamp(12rem, 22vw, 16.5rem);
  height: auto;
  /* max-height: 6.5rem; */
  object-fit: contain;
  object-position: left center;
  /* Logo PNG has a black matte; lighten hides it on the dark header */
  mix-blend-mode: lighten;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.75rem);
}

.nav-list a {
  color: var(--color-white);
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 1.6vw, 1.125rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-list a:hover {
  color: var(--color-gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: 2px solid transparent;
}

.btn-outline {
  font-family: var(--font-cta);
  font-weight: 500;
  color: var(--color-white);
  background: rgba(0, 0, 0, 0.35);
  border-color: var(--color-gold);
}

.btn-outline:hover {
  background: var(--color-gold);
  color: var(--color-black);
}

.btn-primary {
  color: var(--color-white);
  background: var(--color-black);
  border-color: var(--color-black);
  min-width: 160px;
}

.btn-primary:hover {
  background: #333;
  border-color: #333;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/images/hero.jpg') center / cover no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
  padding: calc(var(--header-height) + 2rem) clamp(1rem, 4vw, 2rem) 4rem;
}

.hero-heading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  line-height: 1.35;
  color: var(--color-white);
  margin: 0 0 2rem;
}

/* About */
.about {
  padding: var(--section-pad) 0;
  background: var(--color-white);
}

.about-inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about-frame {
  border: 10px solid var(--color-gold);
  padding: 8px;
  background: var(--color-gold);
  max-width: 380px;
}

.about-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-content p {
  margin: 0 0 1rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.about-signature {
  text-align: right;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-black);
  margin-top: 1.5rem !important;
  margin-bottom: 0 !important;
}

/* Gallery */
.gallery {
  padding: var(--section-pad) clamp(1rem, 4vw, 2rem);
  background: var(--color-white);
}

.gallery-grid {
  max-width: 960px;
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  grid-auto-flow: dense;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item {
  min-height: 200px;
}

.gallery-item--tall {
  grid-row: span 2;
  min-height: 420px;
}

.gallery-item--wide {
  grid-column: span 2;
  min-height: 240px;
}

.reviews-anchor {
  height: 0;
  margin: 0;
  padding: 0;
}

/* Contact */
.contact {
  padding: var(--section-pad) clamp(1rem, 4vw, 2rem);
  background: var(--color-white);
}

.contact-card {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem);
  background: var(--color-peach);
  border-radius: var(--radius-card);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
}

.field-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-black);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-black);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
  border-radius: 0;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--color-black);
}

.field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23000' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 1.25rem;
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form .btn-primary {
  align-self: center;
  margin-top: 0.5rem;
  padding: 0.9rem 2.5rem;
  border: none;
  font-size: 0.95rem;
}

.contact-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-muted);
  margin: 1rem 0 0;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  padding: var(--section-pad) clamp(1rem, 4vw, 2rem) 2rem;
  background: var(--color-white);
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-services {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin: 0 0 2.5rem;
  color: var(--color-black);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto 2rem;
  text-align: center;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  color: var(--color-black);
}

.footer-col p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.footer-col a {
  text-decoration: none;
  color: var(--color-muted);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--color-black);
}

.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

.social-list a {
  display: flex;
  color: var(--color-black);
  transition: color 0.2s, transform 0.2s;
}

.social-list a:hover {
  color: var(--color-gold-dark);
  transform: translateY(-2px);
}

.footer-address {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin: 0 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.footer-copy {
  font-size: 0.75rem;
  color: #888;
  margin: 0;
}

/* Tablet */
@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-media {
    display: flex;
    justify-content: center;
  }

  .about-frame {
    max-width: 320px;
  }

  .gallery-item--wide {
    grid-column: span 1;
  }

  .gallery-item--tall {
    grid-row: span 1;
    min-height: 280px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .header-inner {
    justify-content: space-between;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    left: 0;
    top: 0;
    transform: none;
    background: rgba(0, 0, 0, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    gap: 1.75rem;
  }

  .nav-list a {
    font-size: 1.1rem;
  }

  .hero-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-heading {
    max-width: none;
  }

  .about-signature {
    text-align: center;
  }

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

  .gallery-item,
  .gallery-item--tall,
  .gallery-item--wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 260px;
  }

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

  .contact-card {
    padding: 1.75rem 1.25rem;
    border-radius: 18px;
  }
}

@media (max-width: 768px) {
  .logo-img {
    width: clamp(10rem, 32vw, 12.5rem);
    max-height: 5.5rem;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 96px;
  }

  .logo-img {
    width: 9.5rem;
    max-height: 5rem;
  }

  .hero-heading {
    font-size: 2rem;
  }
}
