/*
 * Empressive Finishes Ltd  ·  v0.1 draft
 *
 * Brand register: classical, refined, hand-of-craft.
 * Palette: cream + plaster shadow + verdigris + terre cuite.
 * Type: Cormorant Garamond (display), Inter (body), Italianno (rare accent).
 *
 * Mobile-first. No frameworks. ~12KB minified.
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600&family=Italianno&display=swap');

:root {
  --cream: #F4ECE0;
  --cream-soft: #EDE3D2;
  --shadow: #3A352D;
  --shadow-soft: #5C544A;
  --shadow-quiet: #8C857A;
  --hairline: rgba(58, 53, 45, 0.14);
  --verdigris: #7A8B7E;
  --verdigris-soft: rgba(122, 139, 126, 0.12);
  --terre: #A65B3F;
  --olive: #9C8E5D;

  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --script: 'Italianno', 'Apple Chancery', cursive;

  --max-content: 1180px;
  --max-narrow: 720px;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--shadow);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Wordmark (logo slot) ---------- */

.wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--shadow);
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}

.wordmark__em { display: inline-block; }
.wordmark__dash {
  display: inline-block;
  width: 8px;
  height: 1px;
  background: var(--shadow);
  margin: 0 6px;
  position: relative;
  top: -6px;
}
.wordmark__rest { display: inline-block; }

.wordmark__sub {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--shadow-soft);
  margin-top: 4px;
}

/* Reserved slot for the portrait silhouette mark (Phase 2). */
.mark-slot {
  width: 56px;
  height: 56px;
  border: 1px dashed var(--hairline);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--shadow-quiet);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(244, 236, 224, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}

.site-header__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 18px var(--space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.site-nav {
  display: none;
}

@media (min-width: 760px) {
  .site-nav { display: flex; gap: var(--space-4); }
}

.site-nav a {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--shadow-soft);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--shadow);
  border-color: var(--terre);
}

/* Mobile nav button + drawer */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 28px;
  height: 22px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  align-items: stretch;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--shadow);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
@media (min-width: 760px) { .nav-toggle { display: none; } }

.mobile-nav {
  display: none;
  background: var(--cream);
  border-bottom: 1px solid var(--hairline);
}
.mobile-nav.is-open { display: block; }
.mobile-nav__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: var(--space-2) var(--space-3) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.mobile-nav a {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shadow);
  padding: 6px 0;
  border-bottom: 1px solid var(--hairline);
}

/* ---------- Section primitive ---------- */

.section {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: var(--space-6) var(--space-3);
}

.section--narrow { max-width: var(--max-narrow); }
.section--tight { padding: var(--space-5) var(--space-3); }

@media (min-width: 760px) {
  .section { padding: var(--space-7) var(--space-4); }
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--terre);
  margin-bottom: var(--space-2);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--shadow);
  letter-spacing: 0.005em;
  margin: 0;
}

h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.005em; }
h2 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.18; }
h3 { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.28; }
h4 { font-size: 18px; line-height: 1.4; font-weight: 500; }

p { margin: 0 0 var(--space-2); }
p:last-child { margin-bottom: 0; }

.lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.45;
  color: var(--shadow);
  max-width: 640px;
}

.muted { color: var(--shadow-soft); }
.quiet { color: var(--shadow-quiet); }

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

.hero {
  position: relative;
  min-height: 80vh;
  min-height: 80svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--cream);
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(244, 236, 224, 0.55) 0%, rgba(244, 236, 224, 0.85) 65%, var(--cream) 100%);
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: var(--space-7) var(--space-3) var(--space-6);
  text-align: center;
}

.hero h1 {
  max-width: 18ch;
  margin: var(--space-2) auto var(--space-3);
}

.hero .lede {
  margin: 0 auto var(--space-4);
  max-width: 580px;
}

/* Hero variant for inner pages — quieter, shorter */
.hero--inner {
  min-height: 44vh;
  min-height: 44svh;
}

.hero--inner .hero__inner {
  padding: var(--space-6) var(--space-3) var(--space-5);
}

/* ---------- CTA buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid var(--shadow);
  background: transparent;
  color: var(--shadow);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover { background: var(--shadow); color: var(--cream); transform: translateY(-1px); }

.btn--filled {
  background: var(--shadow);
  color: var(--cream);
}
.btn--filled:hover { background: var(--terre); border-color: var(--terre); color: var(--cream); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
}

/* ---------- Lane tiles (Home + Work) ---------- */

.lanes {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 720px) {
  .lanes { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1020px) {
  .lanes--three { grid-template-columns: 1fr 1fr 1fr; }
}

.lane {
  position: relative;
  background: var(--cream-soft);
  border: 1px solid var(--hairline);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lane__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream-soft);
}

.lane__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.lane:hover .lane__media img { transform: scale(1.03); }

.lane__body {
  padding: var(--space-3);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lane__body h3 { margin-bottom: 8px; }

.lane__body p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--shadow-soft);
  margin-bottom: var(--space-3);
}

.lane__cta {
  margin-top: auto;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terre);
  border-bottom: 1px solid var(--terre);
  padding-bottom: 2px;
  align-self: flex-start;
}

/* ---------- Pull quote ---------- */

.pullquote {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-6) var(--space-3);
  position: relative;
}

.pullquote::before,
.pullquote::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--terre);
  margin: 0 auto var(--space-3);
}

.pullquote::after {
  margin: var(--space-3) auto 0;
}

.pullquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.45;
  color: var(--shadow);
}

.pullquote__cite {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--shadow-quiet);
  margin-top: var(--space-3);
}

/* ---------- About page ---------- */

.about-hero {
  position: relative;
  min-height: 60vh;
  min-height: 60svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--cream);
  background: var(--shadow);
}

.about-hero__image { position: absolute; inset: 0; }
.about-hero__image img { width: 100%; height: 100%; object-fit: cover; opacity: 0.62; }

.about-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: var(--space-7) var(--space-3) var(--space-5);
  width: 100%;
}

.about-hero h1 {
  color: var(--cream);
  max-width: 16ch;
}

.about-hero .eyebrow {
  color: var(--terre);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: start;
}

@media (min-width: 860px) {
  .about-grid { grid-template-columns: 1fr 1.4fr; gap: var(--space-7); }
}

.about-portrait {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream-soft);
}

.about-portrait img { width: 100%; height: 100%; object-fit: cover; }

.about-prose p {
  font-size: 16.5px;
  line-height: 1.75;
  margin-bottom: var(--space-2);
}

.about-prose p + p { margin-top: var(--space-2); }

/* Artistry mini-grid on About page */

.artistry-block {
  margin-top: var(--space-6);
  border-top: 1px solid var(--hairline);
  padding-top: var(--space-5);
}

.artistry-block h3 {
  margin-bottom: var(--space-2);
}

.artistry-block .lede {
  font-size: 17px;
  margin-bottom: var(--space-4);
}

.artistry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
}

@media (min-width: 720px) {
  .artistry-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
}

.artistry-grid figure {
  margin: 0;
  background: var(--cream-soft);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.artistry-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.artistry-grid figure:hover img { transform: scale(1.04); }

.artistry-cta {
  margin-top: var(--space-4);
  text-align: center;
}

/* ---------- Gallery (Work page) ---------- */

.gallery-section {
  margin-bottom: var(--space-6);
}

.gallery-section__head {
  margin-bottom: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
}

.gallery-section__head h2 { margin-bottom: 4px; }

.gallery-section__head .muted {
  font-family: var(--sans);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  max-width: 560px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
}

@media (min-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 920px) {
  .gallery-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.gallery-grid figure {
  margin: 0;
  background: var(--cream-soft);
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-grid figure:hover img { transform: scale(1.03); }

.gallery-grid figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-2);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--cream);
  background: linear-gradient(180deg, transparent 0%, rgba(58, 53, 45, 0.7) 100%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-grid figure:hover figcaption { opacity: 1; transform: translateY(0); }

/* ---------- Pricing ---------- */

.tier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

@media (min-width: 720px) {
  .tier-grid { grid-template-columns: 1fr 1fr; }
}

.tier {
  background: var(--cream-soft);
  border: 1px solid var(--hairline);
  padding: var(--space-4);
}

.tier--director {
  background: var(--shadow);
  color: var(--cream);
  border-color: var(--shadow);
}

.tier--director .tier__eyebrow { color: var(--terre); }
.tier--director h3 { color: var(--cream); }
.tier--director p { color: rgba(244, 236, 224, 0.78); }

.tier__eyebrow {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--terre);
  margin-bottom: 8px;
}

.tier h3 {
  margin-bottom: var(--space-2);
}

.tier p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--shadow-soft);
  margin-bottom: var(--space-2);
}

.lane-rates {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  border-top: 1px solid var(--hairline);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
}

.rate-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: var(--space-2);
  padding-bottom: var(--space-2);
  border-bottom: 1px dashed var(--hairline);
}

.rate-row:last-child { border-bottom: 0; padding-bottom: 0; }

.rate-row__label h4 {
  margin: 0 0 2px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
}

.rate-row__label p {
  font-size: 13px;
  color: var(--shadow-soft);
  margin: 0;
}

.rate-row__value {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--shadow);
  text-align: right;
  white-space: nowrap;
}

.rate-row__value small {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--shadow-quiet);
  text-transform: uppercase;
  margin-top: 2px;
}

.network-line {
  margin-top: var(--space-5);
  background: var(--verdigris-soft);
  border-left: 3px solid var(--verdigris);
  padding: var(--space-3);
  font-size: 14.5px;
  color: var(--shadow);
}

.network-line strong { font-weight: 500; }

.pricing-note {
  margin-top: var(--space-3);
  font-size: 13px;
  color: var(--shadow-quiet);
  font-style: italic;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 820px) {
  .contact-grid { grid-template-columns: 1.4fr 1fr; gap: var(--space-6); }
}

.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.field { display: flex; flex-direction: column; gap: 6px; }

.field label {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--shadow-soft);
}

.field input,
.field textarea,
.field select {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--shadow);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--shadow-soft);
  padding: 8px 0;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s ease;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
  font-family: var(--sans);
}

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

.form-actions {
  margin-top: var(--space-2);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
}

.form-actions .quiet {
  font-size: 13px;
  font-style: italic;
}

.form-hint {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13.5px;
  color: var(--shadow-quiet);
  margin-top: 8px;
}

.contact-direct {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.8;
}

.contact-direct h3 { margin-bottom: var(--space-2); }
.contact-direct a { color: var(--shadow); border-bottom: 1px dotted var(--shadow-quiet); }
.contact-direct a:hover { color: var(--terre); border-color: var(--terre); }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: var(--space-6);
  background: var(--shadow);
  color: var(--cream);
  padding: var(--space-5) var(--space-3) var(--space-4);
}

.site-footer__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 760px) {
  .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-5); }
}

.site-footer h4 {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(244, 236, 224, 0.62);
  margin: 0 0 var(--space-2);
}

.site-footer p,
.site-footer a {
  font-size: 14px;
  color: rgba(244, 236, 224, 0.86);
  line-height: 1.7;
}

.site-footer a:hover { color: var(--terre); }

.site-footer__brand .wordmark {
  color: var(--cream);
  margin-bottom: 8px;
}

.site-footer__brand .wordmark__dash { background: var(--cream); }

.site-footer__brand .wordmark__sub { color: rgba(244, 236, 224, 0.62); }

.site-footer__draft {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(244, 236, 224, 0.12);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 236, 224, 0.4);
  text-align: center;
}

/* ---------- Utility ---------- */

.center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
