/* ==========================================================================
   SUTTON LANE — DESIGN SYSTEM
   The single source of truth for the brand. Change a token here and the
   whole site follows. Component styles live in site.css.

   Look: neutral monochrome, editorial serif, quiet grain.
   Colour rule: warm purple appears on solid buttons only.
   ========================================================================== */

:root {
	/* ---- GG brand layer (also read by GG Theme for shop/account pages) ---- */
	--brand-primary:          #b6a4b8;  /* Lavender: solid buttons only */
	--brand-primary-contrast: #ffffff;
	--brand-accent:           #8f798f;  /* Plum: button hover, focus, marker text */
	--brand-ink:              #202020;
	--brand-paper:            #ffffff;
	--brand-muted:            #333333;  /* 80% black: body copy */
	--brand-line:             #e6e6e6;

	--font-display:     "Instrument Serif", Georgia, serif;
	--font-body:        "DM Sans", Arial, sans-serif;
	--weight-display:   400;
	--tracking-display: -0.025em;
	--radius-base:      0;

	/* ---- Colour ---- */
	--paper:     var(--brand-paper);
	--cream:     #fafafa;   /* CTA band, statement, form states */
	--mist:      #f5f5f5;   /* .bg-grey sections */
	--grey:      #f4f4f4;
	--stone:     #f2f2f2;   /* founder band, image wells */
	--grey-2:    #ebebeb;
	--charcoal:  #242424;   /* .bg-dark sections, footer */
	--ink:       var(--brand-ink);
	--soft:      #333333;   /* body copy, 80% black */
	--muted:     var(--brand-muted);
	--label:     #707070;   /* micro labels */
	--line:      var(--brand-line);
	--line-2:    #d6d6d6;
	--btn:       var(--brand-primary);
	--btn-hover: var(--brand-accent);
	--btn-text:  var(--brand-primary-contrast);
	--marker-bg: #faf7fa;

	/* ---- Type ---- */
	--serif: var(--font-display);
	--sans:  var(--font-body);

	--fs-micro:   10px;
	--fs-small:   13px;
	--fs-body:    19px;
	--fs-ui:      15px;   /* chips, tags, small meta */
	--fs-button: 13px;
	--fs-h4:      clamp(28px, 2.6vw, 34px);
	--fs-h3:      clamp(30px, 3vw, 39px);
	--fs-h2:      clamp(48px, 5.1vw, 78px);
	--fs-h1:      clamp(50px, 6.3vw, 99px);
	--fs-quote:   clamp(42px, 5vw, 78px);

	--lh-display: 1.02;
	--lh-body:    1.7;
	--track-micro: .19em;

	/* ---- Layout & spacing ---- */
	--max:            1400px;
	--gutter:         clamp(24px, 6.3vw, 108px);
	--space-section:  170px;
	--space-tight:    120px;
	--header-h:       86px;

	/* ---- Motion ---- */
	--ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 1000px) {
	:root { --gutter: 35px; --space-section: 125px; }
}
@media (max-width: 720px) {
	:root { --gutter: 24px; --space-section: 95px; --space-tight: 95px; --header-h: 72px; --fs-body: 17px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, video { display: block; width: 100%; }
img { height: auto; }
em { font-weight: 400; }
:focus-visible { outline: 2px solid var(--btn-hover); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 100; width: auto; height: auto; clip: auto; background: var(--ink); color: #fff; padding: 12px 18px; font-size: var(--fs-small); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: auto; padding: 0 var(--gutter); }
.section { padding: var(--space-section) 0; }
.section.tight { padding: var(--space-tight) 0; }
.rule { border-top: 1px solid var(--line); }
.center { text-align: center; }

/* ---------- Surfaces ---------- */
.bg-grey  { background: var(--mist); }
.bg-cream { background: var(--cream); }
.bg-dark  { background: var(--charcoal); color: #f4f4f4; }
.bg-dark .micro { color: #a9a9a9; }
.bg-dark .lead, .bg-dark p { color: #e3e3e3; }

/* ---------- Type ---------- */
.micro   { font-size: var(--fs-micro); letter-spacing: var(--track-micro); text-transform: uppercase; font-weight: 600; color: var(--label); }
.note    { color: var(--soft); font-size: var(--fs-body); line-height: var(--lh-body); }
.lead    { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--soft); max-width: 600px; }
.subhead { font-size: 22px; line-height: 1.4; color: var(--ink); font-weight: 500; margin: 22px 0 0; max-width: 620px; }
@media (max-width: 720px) { .subhead { font-size: 19px; } }
.display { font-family: var(--serif); font-weight: var(--weight-display); letter-spacing: var(--tracking-display); line-height: var(--lh-display); }
.italic  { font-style: italic; }
/* Headings stay upright: italic spans inside them read as normal text. */
h1 .italic, h2 .italic, h3 .italic, h4 .italic, h1 em, h2 em, h3 em, h4 em, .display .italic, .display em, .bigquote p .italic { font-style: normal; }
.h2      { font-size: var(--fs-h2); margin: 22px 0 0; }

/* Long-form text (privacy policy and other plain pages) */
.prose { max-width: 720px; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--soft); }
.prose h2, .prose h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); letter-spacing: -.015em; line-height: 1.1; }
.prose h2 { font-size: 44px; margin: 64px 0 18px; }
.prose h3 { font-size: 32px; margin: 48px 0 14px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img { margin: 32px 0; }

/* ---------- Buttons & links ---------- */
.pill { font-size: var(--fs-button); text-transform: uppercase; letter-spacing: .12em; background: var(--btn); color: var(--btn-text); border: 1px solid var(--btn); border-radius: var(--radius-base); padding: 18px 28px; display: inline-flex; align-items: center; gap: 25px; transition: .2s; font-family: var(--sans); font-weight: 500; cursor: pointer; }
.pill:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.pill.ghost { background: transparent; color: var(--ink); border-color: #bdbdbd; }
.pill.ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.textlink { display: inline-flex; border-bottom: 1px solid #999; padding-bottom: 9px; font-size: var(--fs-button); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-top: 26px; gap: 50px; transition: .2s; }
.textlink:hover { color: #444; gap: 60px; }
.btn-row { display: flex; gap: 30px; flex-wrap: wrap; align-items: center; }

/* ---------- Imagery ----------
   .photo = brand photography: greyscale + grain.
   .shot  = client work: always full colour, never filtered.
   .ph    = placeholder until an image is added. */
.photo { position: relative; overflow: hidden; background: #dedede; }
.photo img { height: 100%; object-fit: cover; filter: grayscale(1) contrast(.88) brightness(1.075); transition: transform .9s var(--ease); }
.photo::after { content: ''; position: absolute; inset: 0; background: url('../img/grain.png') repeat; opacity: .25; mix-blend-mode: multiply; pointer-events: none; }
.photo:hover img { transform: scale(1.025); }
.photo-tag { display: none; position: absolute; bottom: 21px; left: 22px; color: #fff; font-size: var(--fs-micro); letter-spacing: .16em; text-transform: uppercase; z-index: 1; text-shadow: 0 1px 8px #0009; }

.shot { margin: 0; position: relative; overflow: hidden; background: var(--stone); }
.shot img { height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.shot:hover img { transform: scale(1.015); }
.shot figcaption { position: absolute; left: 20px; bottom: 18px; background: #fff; padding: 8px 12px; color: var(--ink); }

.ph { position: relative; overflow: hidden; background: linear-gradient(135deg, #e9e9e9, #d9d9d9); display: flex; align-items: center; justify-content: center; }
.ph::after { content: ''; position: absolute; inset: 0; background: url('../img/grain.png') repeat; opacity: .3; mix-blend-mode: multiply; pointer-events: none; }
.ph span { font-family: var(--serif); font-size: clamp(40px, 5vw, 72px); color: #bdbdbd; letter-spacing: -.02em; transition: transform .9s var(--ease); }
.ph:hover span { transform: scale(1.05); }
.ph small { display: none; position: absolute; bottom: 18px; left: 20px; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: #8a8a8a; z-index: 1; }

/* ---------- Marker: anything still to fill in ---------- */
.todo { display: inline-block; border: 1px dashed var(--btn); color: var(--btn-hover); background: var(--marker-bg); font-size: var(--fs-micro); letter-spacing: .08em; padding: 3px 8px; font-weight: 500; text-transform: none; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .1s; } .js .reveal.d2 { transition-delay: .2s; } .js .reveal.d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}
