/* ==========================================================================
   Facelight Interiors — one stylesheet for every page.
   Colours, fonts and spacing all come from the variables in :root below.
   Change a value there and it updates across the whole site.
   ========================================================================== */

:root {
  /* Colours, taken from the logo */
  --ivory: #faf6ee;          /* page background */
  --ivory-deep: #f2ebdd;     /* alternate section background */
  --ink: #16150f;            /* main text, dark footer */
  --ink-soft: #4a463a;       /* secondary text */
  --gold: #baab6c;           /* brand gold — rules, buttons, ornament */
  --gold-deep: #746330;      /* darker gold — safe for text on ivory */
  --gold-pale: #fff3a7;      /* pale gold — only used on dark backgrounds */
  --line: rgba(186, 171, 108, 0.45);

  --font-display: "Bodoni Moda", "Didot", Georgia, "Times New Roman", serif;
  --font-sans: "Jost", "Futura", "Century Gothic", system-ui, -apple-system, sans-serif;

  --wrap: 68rem;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(3.5rem, 9vw, 6.5rem);

  /* The "fold" — nested chevrons lifted from the logo emblem. Used at three
     sizes: behind the hero, as a divider, and inside the gallery tiles. */
  --fold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 60' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23baab6c' stroke-width='0.8'%3E%3Cpath d='M0 34 L50 4 L100 34'/%3E%3Cpath d='M0 46 L50 16 L100 46'/%3E%3Cpath d='M0 58 L50 28 L100 58'/%3E%3C/g%3E%3C/svg%3E");
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.005em;
  overflow-x: hidden;
}

img,
svg,
iframe {
  max-width: 100%;
}

a {
  color: var(--gold-deep);
  text-underline-offset: 0.2em;
}

address {
  font-style: normal;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--ivory);
  padding: 0.75rem 1.25rem;
  z-index: 10;
}

.skip-link:focus {
  left: 0;
}

.hidden {
  display: none;
}

/* --- Type ---------------------------------------------------------------- */

.display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
}

h2.display {
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
}

.eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.lede {
  font-size: clamp(1.0625rem, 2.2vw, 1.1875rem);
  color: var(--ink-soft);
  max-width: 46ch;
}

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--gold-deep);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-solid {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.btn-solid:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--ivory);
}

.btn-line {
  background: transparent;
  color: var(--ink);
}

.btn-line:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ivory);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* --- Header -------------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-emblem {
  display: block;
  height: 42px;
  width: auto;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.brand-name .accent {
  color: var(--gold-deep);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 3vw, 2rem);
}

.site-nav a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding-block: 0.4rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold-deep);
}

.site-nav a[aria-current="page"] {
  border-bottom: 1px solid var(--gold);
}

.nav-call {
  display: none;
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 8vw, 5.5rem) var(--section-y);
  background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-deep) 100%);
}

/* The fold motif at its largest — deliberately very faint. */
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -20% auto -20%;
  height: 120%;
  background-image: var(--fold);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  opacity: 0.16;
  pointer-events: none;
}

.hero-inner {
  position: relative;
}

.hero-name {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 2.4vw, 0.875rem);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.25rem;
}

.hero h1 {
  margin: 0;
  max-width: 30ch;
  text-wrap: balance;
}

.hero-line {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 7.5vw, 4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.hero .lede {
  margin: 1.5rem 0 0;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
}

.rating:hover {
  color: var(--ink);
}

.rating .stars {
  color: var(--gold-deep);
  letter-spacing: 0.1em;
}

.rating strong {
  font-weight: 500;
  color: var(--ink);
}

/* --- Sections ------------------------------------------------------------ */

.section {
  padding-block: var(--section-y);
}

.section-tint {
  background: var(--ivory-deep);
}

.section-grid {
  display: grid;
  gap: 1.5rem;
}

/* On mobile the eyebrow sits above its content with a short gold rule. */
.section-grid > .eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-grid > .eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.prose p {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

.prose p:last-child {
  margin-bottom: 0;
}

.section-body h2 {
  margin-bottom: 1.25rem;
}

/* --- Services ------------------------------------------------------------ */

.services {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
  margin-top: 2rem;
}

.service {
  background: var(--ivory);
  padding: 1.6rem 0.25rem;
}

.section-tint .service {
  background: var(--ivory-deep);
}

.service h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
}

.service p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

/* --- Fold divider (the motif at mid size) -------------------------------- */

.fold-rule {
  display: flex;
  align-items: center;
  gap: 8rem;
  height: 26px;
  background-image: var(--fold);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 104px 22px;
}

.fold-rule::before,
.fold-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* --- Gallery ------------------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.tile {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink);
}

/* Placeholder artwork. Swap it for a real photo — see the note in index.html. */
.tile-art,
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #1e1b12;
  background-image: var(--fold),
    linear-gradient(150deg, #1e1b12 0%, #3a331c 45%, #6b5c2e 100%);
  background-repeat: no-repeat;
  background-position: center 78%, center;
  background-size: 150% 45%, cover;
}

/* Keeps the label readable over a placeholder or over any photo. */
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 70%);
  pointer-events: none;
}

.tile figcaption {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.75rem;
  color: var(--ivory);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}

.gallery-note {
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

/* --- Contact page -------------------------------------------------------- */

.direct {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.direct .btn {
  width: 100%;
}

/* WhatsApp is how most people here get in touch, so it leads. */
.btn-whatsapp {
  padding-block: 1.15rem;
  font-size: 0.875rem;
}

.btn-whatsapp svg {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: currentColor;
}

.form {
  display: grid;
  gap: 1.35rem;
  margin-top: 2rem;
  max-width: 34rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input,
.field textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.8rem 0.9rem;
  width: 100%;
}

.field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold-deep);
}

.form button {
  justify-self: start;
  cursor: pointer;
}

.map {
  margin-top: 2rem;
  border: 1px solid var(--line);
}

.map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

/* --- Thank-you page ------------------------------------------------------ */

.thanks {
  display: flex;
  align-items: center;
  min-height: 60vh;
  padding-block: var(--section-y);
}

/* --- Contact strip + footer ---------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: rgba(250, 246, 238, 0.75);
  padding-block: var(--section-y) 2.5rem;
}

.site-footer a {
  color: var(--gold-pale);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ivory);
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  gap: 2.25rem;
}

.footer-grid .eyebrow {
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.footer-block p {
  margin: 0 0 0.4rem;
  font-size: 0.9375rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ivory);
  margin: 0 0 0.5rem;
}

.footer-bottom {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(186, 171, 108, 0.3);
  font-size: 0.8125rem;
  color: rgba(250, 246, 238, 0.55);
}

/* --- Larger screens ------------------------------------------------------ */

@media (min-width: 40rem) {
  .brand-emblem {
    height: 54px;
  }

  .brand-name {
    font-size: 1.5rem;
  }

  .nav-call {
    display: inline-block;
    font-variant-numeric: tabular-nums;
  }

  .services {
    grid-template-columns: repeat(2, 1fr);
  }

  .service {
    padding: 1.75rem;
  }

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

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

  .btn-whatsapp {
    grid-column: 1 / -1;
  }
}

@media (min-width: 60rem) {
  /* The drawing-sheet grid: section label on the left of a gold hairline. */
  .section-grid {
    grid-template-columns: 12rem 1fr;
    gap: clamp(2rem, 5vw, 4rem);
  }

  .section-grid > .eyebrow {
    align-self: start;
    padding-top: 0.65rem;
  }

  .section-grid > .eyebrow::after {
    display: none;
  }

  .section-grid > .section-body {
    border-left: 1px solid var(--line);
    padding-left: clamp(2rem, 5vw, 4rem);
  }

  .hero-inner {
    padding-left: calc(12rem + clamp(2rem, 5vw, 4rem));
  }

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

/* --- Motion -------------------------------------------------------------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-name,
.hero h1,
.hero .lede,
.hero .btn-row,
.hero .rating {
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
}

.hero h1 {
  animation-delay: 0.08s;
}

.hero .lede {
  animation-delay: 0.16s;
}

.hero .btn-row {
  animation-delay: 0.24s;
}

.hero .rating {
  animation-delay: 0.32s;
}

.tile-art {
  transition: transform 0.5s ease;
}

.tile:hover .tile-art {
  transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
