/* Luxury Cuts website: white marble, ink black, a little oak. Shared by every page. */

:root {
  --canvas: #f4f3f0;
  --panel: #fbfbfa;
  --stone-wash: #e9e7e3;
  --ink: #141414;
  --ink-soft: #2e2d2b;
  --stone: #6b6863;
  --vein: #dad7d1;
  --vein-strong: #8c8881;
  --oak: #7d5e42;
  --oak-line: #a07e5e;

  --display: "Cormorant Garamond", "Times New Roman", serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft: cubic-bezier(0.45, 0.05, 0.25, 1);

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --bar-h: 72px;
}

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

html { overflow-x: hidden; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--bar-h); }
body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--canvas);
  color: var(--ink-soft);
  font: 400 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  animation: page-in 0.9s var(--ease-out) both;
}
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 400; }
p { margin: 0; }
button { font: inherit; color: inherit; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--panel); padding: 10px 16px; text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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

/* Small spaced labels, with a short oak line before them */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 12px/1.4 var(--body); letter-spacing: 0.24em; text-transform: uppercase; color: var(--stone);
}
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--oak-line); }

.title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(42px, 5.4vw, 80px); line-height: 1; letter-spacing: -0.01em;
}
.lede { font-size: clamp(16px, 1.25vw, 18px); color: var(--stone); max-width: 46ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border: 1px solid var(--ink); border-radius: 2px;
  background: var(--ink); color: var(--panel); text-decoration: none; cursor: pointer;
  font: 500 12px/1 var(--body); letter-spacing: 0.18em; text-transform: uppercase;
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.btn:hover { background: #000; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--panel); }
.btn.small { min-height: 40px; padding: 0 18px; font-size: 11px; }
.btn .arrow { transition: transform 0.35s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* Top bar */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--bar-h);
  display: flex; align-items: center;
  transition: background-color 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.bar.solid { background: rgba(251, 251, 250, 0.97); box-shadow: 0 1px 0 var(--vein); }
.bar .wrap { max-width: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; text-decoration: none; color: var(--ink);
}
.brand-logo { display: block; width: 176px; height: auto; }
.brand-name { font: 500 19px/1 var(--display); letter-spacing: 0.22em; text-transform: uppercase; }
.brand-motto { font: 500 8.5px/1 var(--body); letter-spacing: 0.42em; text-transform: uppercase; color: var(--stone); padding-left: 1px; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav a {
  position: relative; text-decoration: none; color: var(--ink-soft);
  font: 500 12px/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; padding: 8px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease-out);
}
.nav a:hover::after { transform: scaleX(1); }
.bar-actions { display: flex; align-items: center; gap: 16px; }
.lang { display: inline-flex; border: 1px solid var(--vein-strong); border-radius: 2px; }
.lang button {
  border: 0; background: transparent; cursor: pointer; padding: 8px 10px; min-width: 38px;
  font: 500 11px/1 var(--body); letter-spacing: 0.14em; color: var(--stone);
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--panel); }
.signin { font: 500 12px/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--ink-soft); }
.signin:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }

/* Image placeholders: a soft marble wash with a label saying which picture goes here */
.ph {
  position: relative; overflow: hidden; background-color: var(--stone-wash);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23cfcbc4' stroke-linecap='round'%3E%3Cpath stroke-width='1.6' d='M-20 120 C 120 160 180 90 300 150 S 520 260 600 220 S 760 140 840 190'/%3E%3Cpath stroke-width='0.8' d='M300 150 C 330 210 310 280 360 330 S 420 420 400 520'/%3E%3Cpath stroke-width='1.2' d='M-20 430 C 140 400 230 470 380 440 S 600 360 820 420'/%3E%3Cpath stroke-width='0.6' d='M600 220 C 640 280 700 300 720 380'/%3E%3Cpath stroke-width='0.7' d='M120 140 C 150 220 90 300 130 380'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
}
.ph > img, .ph .breath > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-label {
  position: absolute; left: 14px; bottom: 14px; max-width: calc(100% - 28px);
  padding: 7px 10px; background: rgba(251, 251, 250, 0.9); color: var(--stone);
  font: 500 10.5px/1.4 var(--body); letter-spacing: 0.14em; text-transform: uppercase;
}

/* Reveal on scroll */
.reveal > * { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.in > * { opacity: 1; transform: none; }
.reveal.in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal.in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal.in > *:nth-child(4) { transition-delay: 0.24s; }
.reveal.in > *:nth-child(5) { transition-delay: 0.32s; }
.reveal.settled > *:nth-child(n) { transition-delay: 0s; }

/* The marble vein that draws itself down the page as you scroll */
.vein-layer { position: fixed; top: 0; right: 0; width: calc(var(--gutter) - 12px); height: 100vh; z-index: 0; pointer-events: none; }
.vein-layer path { fill: none; stroke: #cbc7c0; stroke-linecap: round; }
main, footer { position: relative; z-index: 1; }

body.paused *, body.paused *::before, body.paused *::after { animation-play-state: paused !important; }

/* Netlify's free plan adds a small "Powered by Netlify" badge in the bottom-right corner.
   On phones, buttons pinned to the bottom leave this much room so it never covers them. */
:root { --badge-room: 0px; }
@media (max-width: 900px) { :root { --badge-room: 58px; } }

/* Footer, the same on every page */
.foot { padding: 72px 0 40px; background: var(--panel); border-top: 1px solid var(--vein); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-logo { display: block; width: min(300px, 100%); height: auto; }
.foot .brand-name { font-size: 28px; }
.foot .brand-motto { font-size: 10px; margin-top: 6px; }
.foot h3 { font: 500 11px/1.4 var(--body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 5px; }
.foot-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--vein); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--stone); }

@media (max-width: 900px) {
  .nav { display: none; }
  .vein-layer { display: none; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 560px) {
  :root { --bar-h: 64px; }
  .signin { display: none; }
  .brand-name { font-size: 16px; letter-spacing: 0.18em; }
  .brand-logo { width: 142px; }
}
@media (pointer: coarse) {
  .lang button { min-height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .reveal > * { opacity: 1; transform: none; }
}
