:root {
  --black: #0b0808;
  --black-2: #140e10;
  --black-3: #1d1417;
  --mauve: #b67f9d;
  --mauve-light: #dcb0c8;
  --mauve-deep: #7e4a69;
  --cream: #f5ecdd;
  --muted: #b8a9a8;
  --line: rgba(220, 176, 200, .2);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--cream);
  background: var(--black);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
em { font-style: italic; color: var(--mauve-light); }
::selection { background: var(--mauve); color: var(--black); }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 56px);
  background: rgba(11, 8, 8, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: var(--serif); font-size: 1.7rem; font-weight: 500;
  text-decoration: none; letter-spacing: .02em; color: var(--cream);
}
.menu { display: flex; align-items: center; gap: 28px; }
.menu a { text-decoration: none; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.menu a:not(.btn):hover { color: var(--mauve-light); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--cream); transition: .25s; }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* BUTTONS */
.btn {
  display: inline-block; padding: 15px 34px;
  background: var(--mauve); color: var(--black); border: 1px solid var(--mauve);
  font: 600 .8rem var(--sans); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: .25s;
}
.btn:hover { background: var(--cream); border-color: var(--cream); color: var(--black); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-ghost:hover { background: var(--cream); color: var(--black); }
.btn-small { padding: 9px 20px; font-size: .72rem; }
.menu a.btn { color: var(--black); }

/* TYPE */
.eyebrow { font-size: .75rem; letter-spacing: .28em; text-transform: uppercase; color: var(--mauve); font-weight: 500; margin-bottom: 14px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; }
h1 { font-size: clamp(3rem, 7.5vw, 6.2rem); margin-bottom: 24px; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 40px; }
h3 { font-size: 1.7rem; margin-bottom: 10px; }

/* TILED PHOTO BACKGROUND: images/tile.jpg repeats seamlessly */
.tiled { position: relative; isolation: isolate; overflow: hidden; }
.tiled::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("images/tile.jpg") 0 0 / 960px auto repeat;
}
.tiled::after { content: ""; position: absolute; inset: 0; z-index: -1; }

/* HERO: the tiles are the feature */
.hero {
  display: grid; place-items: center; text-align: center;
  min-height: calc(100vh - 70px);
  padding: clamp(48px, 8vw, 110px) 20px;
}
.hero.tiled::before {
  opacity: .95;
  animation: drift 90s linear infinite;
}
.hero.tiled::after {
  background:
    radial-gradient(ellipse 62% 58% at 50% 50%, rgba(11,8,8,.9) 0%, rgba(11,8,8,.78) 55%, rgba(11,8,8,.15) 100%),
    linear-gradient(180deg, rgba(11,8,8,.35) 0%, rgba(11,8,8,0) 25%, rgba(11,8,8,0) 75%, rgba(11,8,8,.85) 100%);
}
@keyframes drift { to { background-position: 960px 720px; } }
.hero-text { max-width: 760px; padding: 24px 0; }
.hero .lead { margin-inline: auto; color: var(--cream); opacity: .85; }
.hero-cta { justify-content: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 540px; margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* STRIP */
.strip {
  display: flex; gap: 28px; align-items: center; justify-content: center; flex-wrap: nowrap;
  overflow: hidden; white-space: nowrap; padding: 18px 0;
  background: var(--mauve); color: var(--black);
  font-family: var(--serif); font-size: 1.5rem; font-style: italic; font-weight: 500;
}
.strip i { font-style: normal; font-size: .8rem; opacity: .7; }

/* SECTIONS */
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section.alt { background: var(--black-2); }
.note { margin-top: 36px; color: var(--muted); font-size: .95rem; }
.note a { color: var(--mauve-light); }

/* CARDS */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card {
  background: var(--black-3); padding: 34px 28px; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: .3s;
}
.card:hover { transform: translateY(-6px); border-color: var(--mauve); box-shadow: 0 18px 44px -18px rgba(182, 127, 157, .45); }
.card .num { font-family: var(--serif); font-size: 1.2rem; color: var(--mauve); margin-bottom: 18px; }
.card p { color: var(--muted); margin-bottom: 22px; flex: 1; }
.card a { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--mauve-light); font-weight: 500; }
.card a:hover { color: var(--cream); }

/* PORTFOLIO: every photo the same size */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden; margin: 0;
  background: var(--black-3); border: 1px solid var(--line);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,8,8,0) 55%, rgba(11,8,8,.82) 100%);
  box-shadow: inset 0 0 0 1px rgba(245, 236, 221, .06);
}
.tile figcaption {
  position: absolute; left: 18px; bottom: 14px; z-index: 1;
  font-family: var(--serif); font-size: 1.35rem; font-style: italic; color: var(--cream);
}
.tile:hover img { transform: scale(1.06); }

/* ABOUT */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.about-art {
  aspect-ratio: 4 / 5; border-radius: 6px 6px 200px 200px; overflow: hidden;
  display: grid; place-items: end start; position: relative;
  background: linear-gradient(160deg, var(--mauve-deep), var(--black-3) 70%);
  border: 1px solid var(--line);
}
.about-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-label {
  position: relative; margin: 16px; padding: 4px 12px;
  font-size: .7rem; letter-spacing: .15em; text-transform: uppercase;
  background: rgba(11,8,8,.7); color: var(--cream);
}
.about p { color: var(--muted); margin-bottom: 18px; }
.facts { list-style: none; margin-top: 24px; border-top: 1px solid var(--line); }
.facts li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.facts strong { color: var(--cream); font-weight: 500; }

/* STEPS */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.steps li { counter-increment: s; border-top: 1px solid var(--mauve); padding-top: 18px; }
.steps li::before { content: "0" counter(s); font-family: var(--serif); font-size: 1.2rem; color: var(--mauve); display: block; margin-bottom: 8px; }
.steps strong { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 500; }
.steps span { color: var(--muted); }

/* QUOTES */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
blockquote { font-family: var(--serif); font-size: 1.5rem; line-height: 1.35; padding: 28px; border-left: 2px solid var(--mauve); background: var(--black-3); }
cite { display: block; margin-top: 16px; font: 400 .78rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-style: normal; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { cursor: pointer; font-family: var(--serif); font-size: 1.5rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--mauve); transition: .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 12px; color: var(--muted); }

/* FORM */
.book .eyebrow { color: var(--mauve-light); }
.book.tiled::before { opacity: .3; }
.book.tiled::after { background: linear-gradient(180deg, rgba(11,8,8,.82), rgba(11,8,8,.94)); }
.lead-sm { color: var(--muted); margin: -16px 0 32px; }
form { display: grid; gap: 20px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: grid; gap: 8px; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mauve-light); }
.opt { text-transform: none; letter-spacing: 0; opacity: .7; }
input, select, textarea {
  font: 300 1rem var(--sans); color: var(--cream);
  background: rgba(245,236,221,.06); border: 1px solid rgba(220,176,200,.28);
  padding: 13px 14px; width: 100%; border-radius: 0;
}
select option { color: #111; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--mauve); outline-offset: 1px; border-color: var(--mauve); }
input[type="date"] { color-scheme: dark; }
.book .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.5em; font-size: .95rem; }
.form-status.ok { color: #b8e0c0; }
.form-status.err { color: #f4b4b4; }
input.invalid, select.invalid { border-color: #f4b4b4; }

/* FOOTER */
.footer { background: #050303; color: var(--muted); padding: 56px 0 24px; border-top: 1px solid var(--line); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer p { margin-top: 6px; }
.links { display: flex; flex-direction: column; gap: 6px; }
.links a { text-decoration: none; }
.links a:hover { color: var(--mauve-light); }
.copy { text-align: center; font-size: .8rem; margin-top: 40px; opacity: .6; }

/* MOBILE */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--black); border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px; display: none;
  }
  .menu.open { display: flex; }
  .menu a { padding: 14px 0; width: 100%; }
  .menu a.btn { width: auto; margin-top: 8px; padding: 12px 24px; }
  .tiled::before { background-size: 640px auto; }
  @keyframes drift { to { background-position: 640px 480px; } }
  .hero { min-height: 0; padding-block: 90px; }
  .hero.tiled::after {
    background: radial-gradient(ellipse 95% 70% at 50% 50%, rgba(11,8,8,.9) 0%, rgba(11,8,8,.7) 70%, rgba(11,8,8,.35) 100%);
  }
  .about { grid-template-columns: 1fr; }
  .about-art { width: min(100%, 420px); margin-inline: auto; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .row { grid-template-columns: 1fr; }
}
/* Touch targets: at least 44px tall on phones */
@media (max-width: 860px) {
  .nav-toggle { width: 44px; height: 44px; }
  .nav-toggle span { left: 10px; right: 10px; }
  .nav-toggle span:first-child { top: 17px; }
  .nav-toggle span:last-child { top: 25px; }
  .nav-toggle[aria-expanded="true"] span:first-child,
  .nav-toggle[aria-expanded="true"] span:last-child { top: 21px; }
  .card a, .note a, .links a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer .logo { display: inline-flex; align-items: center; min-height: 44px; }
  summary { min-height: 44px; align-items: center; }
}
@media (max-width: 480px) {
  .tile figcaption { font-size: 1.1rem; left: 12px; bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .hero.tiled::before { animation: none; }
}
