/* Ophelia Atelier: brand palette from the brand board */
:root {
  --ivory: #F7F4EE;
  --sand: #D9C8B8;
  --blush: #C9A8A0;
  --taupe: #8B7A6E;
  --espresso: #3A2F2B;
  --ink: #7A5A40;          /* logo ink */
  --text-soft: #67584E;    /* body copy: darker taupe for readable contrast */
  --paper: #FBF9F5;
  --line: rgba(139, 122, 110, .28);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Montserrat", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--espresso);
  font: 300 15px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; }
h2 { font-size: clamp(32px, 4.4vw, 50px); }
h3 { font-size: 24px; }
p { margin: 0 0 1em; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--espresso); color: var(--ivory); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

.eyebrow {
  font: 500 11px/1.4 var(--sans);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 18px;
}
.eyebrow--spaced { letter-spacing: .5em; margin: 8px 0 0; color: var(--ink); }
.rule { display: block; width: 44px; height: 1px; background: var(--taupe); opacity: .6; margin: 26px auto; }

.btn {
  display: inline-block;
  font: 500 11px/1 var(--sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivory);
  background: var(--espresso);
  border: 1px solid var(--espresso);
  padding: 18px 30px;
  cursor: pointer;
  transition: background .3s, color .3s;
}
.btn:hover { background: transparent; color: var(--espresso); }
.btn--small { padding: 12px 18px; font-size: 10px; white-space: nowrap; }
.btn--full { width: 100%; }
.link {
  font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid var(--taupe);
}

.section { max-width: var(--wrap); margin: 0 auto; padding: var(--section) var(--gutter); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto clamp(40px, 6vw, 64px); }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 238, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 12px var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__brand img { width: 30px; }
.nav__brand span { white-space: nowrap; font: 400 22px/1 var(--serif); font-style: italic; color: var(--ink); }
.nav__brand small { font: 500 9px/1 var(--sans); font-style: normal; letter-spacing: .4em; text-transform: uppercase; margin-left: 4px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { white-space: nowrap; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--taupe); transition: color .2s; }
.nav__links a:hover { color: var(--espresso); }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--taupe); }
.lang button {
  background: none; border: 0; padding: 6px 2px; cursor: pointer;
  font: 500 11px/1 var(--sans); letter-spacing: .14em; color: var(--taupe);
}
.lang button[aria-pressed="true"] { color: var(--espresso); text-decoration: underline; text-underline-offset: 5px; }

/* HERO */
.hero {
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(56px, 8vw, 104px);
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 88px); align-items: center;
}
.hero__text { text-align: center; }
.hero__logo { width: min(68%, 320px); margin: 0 auto 22px; }
.hero__tagline { font: italic 400 clamp(26px, 3vw, 34px)/1.2 var(--serif); color: var(--taupe); margin: 0 0 18px; }
.hero__lede { max-width: 440px; margin: 0 auto 34px; color: var(--text-soft); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; align-items: center; }
.hero__media { margin: 0; position: relative; }
.hero__media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--sand); border-radius: 999px 999px 0 0;
}
.hero__media img {
  position: relative; width: 100%; aspect-ratio: 3 / 4.2; object-fit: cover; object-position: top;
  border-radius: 999px 999px 0 0;
}

/* PROMISE STRIP */
.promise { border-block: 1px solid var(--line); background: var(--paper); }
.promise ul {
  list-style: none; margin: 0 auto; padding: 22px var(--gutter); max-width: var(--wrap);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 56px;
}
.promise li {
  font: italic 400 20px/1.3 var(--serif); color: var(--ink);
  display: flex; align-items: center; gap: 14px;
}
.promise li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blush); }

/* CONCEPT */
.concept { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.concept__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.concept__text h2 { margin-bottom: 24px; }
.concept__text p { color: var(--text-soft); }
.pillars { margin-top: 32px; font: italic 400 21px/1.4 var(--serif); color: var(--ink) !important; }
.pillars i { font-style: normal; color: var(--blush); margin: 0 10px; }

/* GALLERY */
.gallery { padding-top: 0; }
.gallery__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.tile { position: relative; overflow: hidden; background: var(--sand); }
.tile img { width: 100%; aspect-ratio: 3 / 4.6; object-fit: cover; transition: transform 1.2s ease; }
.tile:hover img { transform: scale(1.04); }
.tile__cap {
  position: absolute; inset: auto 0 0; padding: 48px 16px 16px;
  background: linear-gradient(transparent, rgba(58, 47, 43, .62));
  color: var(--ivory);
}
.tile__cap h3 { font-style: italic; font-size: 22px; }
.tile__cap p { margin: 4px 0 0; font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase; opacity: .9; }

/* WHAT WE MAKE */
.section__head h2 em { font-style: italic; color: var(--ink); }
.section__lede { margin: 18px auto 0; max-width: 520px; color: var(--text-soft); }
.make { border-top: 1px solid var(--line); }
.make__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px) clamp(16px, 2.4vw, 32px);
}
.piece figure { position: relative; margin: 0 0 20px; overflow: hidden; background: var(--sand); }
.piece img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1.2s ease; }
.piece:hover img { transform: scale(1.035); }
.piece__tag {
  position: absolute; top: 14px; left: 14px; padding: 7px 11px;
  font: 500 9.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--espresso); background: rgba(247, 244, 238, .9);
}
.piece h3 { font-size: 26px; margin-bottom: 8px; }
.piece p { margin: 0; font-size: 14px; color: var(--text-soft); }

/* BEFORE / AFTER */
.transform { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: center; border-top: 1px solid var(--line); }
.transform__text h2 { margin-bottom: 24px; }
.transform__text h2 em { font-style: italic; color: var(--ink); }
.transform__text p { color: var(--text-soft); }
.transform__hint { margin-top: 28px; font: italic 400 19px/1.4 var(--serif); color: var(--taupe) !important; }
.transform__hint::before { content: "\2194"; font-style: normal; margin-right: 10px; color: var(--blush); }

.compare {
  position: relative; width: 100%; max-width: 620px; margin-left: auto;
  aspect-ratio: 1; overflow: hidden; background: var(--sand);
  user-select: none; -webkit-user-select: none; touch-action: pan-y;
}
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__after { clip-path: inset(0 0 0 var(--pos)); }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px;
  background: var(--ivory); box-shadow: 0 0 12px rgba(58, 47, 43, .35); pointer-events: none;
}
.compare__knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; gap: 0;
  background: var(--ivory); color: var(--espresso);
  border: 1px solid rgba(139, 122, 110, .35);
  box-shadow: 0 8px 22px rgba(58, 47, 43, .22);
  transition: transform .3s ease, box-shadow .3s ease;
}
.compare__knob svg { width: 17px; height: 17px; }
.compare:hover .compare__knob { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 10px 26px rgba(58, 47, 43, .28); }
.compare__label {
  position: absolute; top: 16px; padding: 7px 12px; pointer-events: none;
  font: 500 10px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  color: var(--ivory); background: rgba(58, 47, 43, .55);
}
.compare__label--before { left: 16px; }
.compare__label--after { right: 16px; }
.compare__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y;
}
.compare:has(.compare__range:focus-visible) .compare__knob { outline: 1px solid var(--ink); outline-offset: 3px; }

/* PROCESS */
.process { border-top: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.steps li { padding: 8px 28px 0; border-left: 1px solid var(--line); }
.steps li:first-child { border-left: 0; }
.steps__num { display: block; font: italic 400 44px/1 var(--serif); color: var(--blush); margin-bottom: 18px; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--text-soft); font-size: 14px; }

/* QUOTE */
.quote {
  text-align: center; padding: var(--section) var(--gutter);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(201, 168, 160, .22), transparent 60%),
    var(--paper);
  border-block: 1px solid var(--line);
}
.quote blockquote { margin: 0; }
.quote p { font: italic 400 clamp(32px, 5vw, 56px)/1.2 var(--serif); color: var(--taupe); margin: 0; }
.quote img { width: 170px; margin: 0 auto; }

/* ORDER */
.order { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.order__intro h2 { margin-bottom: 22px; }
.order__intro > p { color: var(--text-soft); }
.order__contact { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.order__contact li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; letter-spacing: .04em; }
.order__contact a { text-decoration: none; }
.order__contact a:hover { color: var(--ink); }

.form { background: var(--paper); border: 1px solid var(--line); padding: clamp(24px, 4vw, 44px); }
.field { margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font: 500 10.5px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); margin-bottom: 8px; }
.field label em { font-style: normal; letter-spacing: .08em; text-transform: none; opacity: .8; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 15px/1.5 var(--sans); color: var(--espresso);
  background: transparent; border: 0; border-bottom: 1px solid var(--sand);
  padding: 8px 0; border-radius: 0; -webkit-appearance: none; appearance: none;
  transition: border-color .2s;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238B7A6E'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; padding-right: 20px;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field [aria-invalid="true"] { border-bottom-color: #A86A5C; }
.form__error { color: #A86A5C; font-size: 13px; }
.form__note { margin: 14px 0 0; font-size: 12px; color: var(--text-soft); text-align: center; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__list { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative;
  font: 400 22px/1.3 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font: 300 22px/1 var(--sans); color: var(--taupe); transition: transform .3s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--text-soft); padding-bottom: 22px; margin: 0; max-width: 620px; }

/* FOOTER */
.footer { background: var(--espresso); color: var(--sand); text-align: center; padding: 72px var(--gutter) 40px; }
.footer__mono { width: 52px; margin: 0 auto 16px; filter: brightness(0) invert(.86) sepia(.25); }
.footer__name { font: italic 400 30px/1 var(--serif); color: var(--ivory); margin-bottom: 10px; }
.footer__name span { font: 500 10px/1 var(--sans); font-style: normal; letter-spacing: .45em; text-transform: uppercase; margin-left: 6px; vertical-align: middle; }
.footer__line { font: italic 400 18px/1.4 var(--serif); }
.footer__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin: 28px 0; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--ivory); }
.footer__copy { font-size: 11px; letter-spacing: .1em; opacity: .6; margin: 0; }

/* WHATSAPP FLOAT */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--espresso); color: var(--ivory);
  box-shadow: 0 8px 24px rgba(58, 47, 43, .25);
  transition: transform .2s, background .2s;
}
.wa-float:hover { transform: translateY(-2px); background: var(--ink); }
.wa-float svg { width: 26px; height: 26px; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tile img, .piece img { transition: none; }
}

/* RESPONSIVE */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
}
@media (max-width: 1000px) {
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .make__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps li:nth-child(3) { border-left: 0; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
  .hero, .concept, .order, .transform { grid-template-columns: 1fr; }
  .compare { margin: 0 auto; }
  .hero__media { max-width: 380px; margin: 0 auto; width: calc(100% - 18px); }
  .concept__media { order: 2; }
}
@media (max-width: 560px) {
  body { font-size: 14.5px; }
  .nav__brand span { display: none; }
  .btn--small { padding: 11px 14px; letter-spacing: .18em; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-left: 0; padding: 0 0 28px; border-bottom: 1px solid var(--line); }
  .steps li:last-child { border-bottom: 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .make__grid { gap: 28px 12px; }
  .piece figure { margin-bottom: 12px; }
  .piece h3 { font-size: 20px; margin-bottom: 6px; }
  .piece p { font-size: 13px; }
  .piece__tag { top: 8px; left: 8px; padding: 6px 8px; font-size: 8.5px; letter-spacing: .16em; }
  .promise ul { flex-direction: column; align-items: center; gap: 8px; }
}
