/* BIRTA Studio — site styles. Source of truth for tokens: styleguide.html
   Layout concept: forest-green bands (header, hero, footer) frame a pale "mist" gallery;
   the hero's round "little world" is the one bold element, everything else stays quiet. */

:root {
  /* colour */
  --forest: #1E4A3C;        /* brand ground, from the logo; headings on light */
  --forest-deep: #163A2F;   /* footer, pressed states */
  --champagne: #E6D2A3;     /* logo line colour; ONLY on forest */
  --mist: #EDF0EA;          /* page ground: Pacific Northwest fog, slight green bias */
  --paper: #F7F8F4;         /* raised surfaces: cards, image mats */
  --ink: #1F2B26;           /* body text, green-tinted near-black */
  --stone: #5F6A64;         /* secondary text */
  --line: #CBD3CC;          /* hairlines, borders */
  --sold: #8A6F3A;          /* status: sold / reserved (dark champagne, readable on paper) */

  /* type */
  --font-display: "Marcellus", "Cormorant Garamond", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: 2.25rem;
  --step-4: clamp(2.4rem, 5.5vw, 3.75rem);

  /* space & shape */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --radius: 4px;
  --measure: 62ch;
  --page: 1160px;

  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--forest); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.band :focus-visible { outline-color: var(--champagne); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0;
}
h2 { font-size: var(--step-3); color: var(--forest); }
h3 { font-size: var(--step-1); color: var(--forest); }
p { margin: 0; }

/* full-width bands carry the side gutter on their inner wrapper */
.wrap {
  max-width: var(--page);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.band { background: var(--forest); color: var(--paper); }
.band a { color: var(--champagne); }

/* mock banner (remove before launch) */
.mock-note {
  background: var(--champagne);
  color: var(--forest-deep);
  font-size: var(--step--1);
}
.mock-note .wrap { padding-block: 0.5rem; }

/* header */
.site-head .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding-block: var(--space-2);
}
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand span { font-family: var(--font-display); font-size: var(--step-1); color: var(--champagne); letter-spacing: 0.04em; }
.site-nav { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); font-size: var(--step--1); }
.site-nav a { text-decoration: none; color: var(--paper); }
.site-nav a:hover { color: var(--champagne); }

/* hero */
.hero .wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: center;
  padding-block: var(--space-4) var(--space-5);
}
.hero-world { position: relative; justify-self: center; width: min(78vw, 440px); }
.hero-world video, .hero-world img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--champagne), 0 0 0 10px var(--forest), 0 0 0 11px rgba(230, 210, 163, 0.45);
}
.hero-star { position: absolute; left: 50%; top: -34px; width: 22px; height: 22px; transform: translateX(-50%); fill: var(--champagne); }
.hero-text { display: grid; gap: var(--space-3); min-width: 0; }
.hero h1 { font-size: var(--step-4); color: var(--paper); }
.hero-lede { font-size: var(--step-1); line-height: 1.5; color: #DCE3DD; max-width: 34ch; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }

@media (min-width: 820px) {
  .hero .wrap { grid-template-columns: 1.1fr 1fr; padding-block: var(--space-5); }
  .hero-world { order: 2; }
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  font: 600 var(--step--1) / 1.2 var(--font-body);
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary { background: var(--champagne); color: var(--forest-deep); }
.band .btn-primary { color: var(--forest-deep); }
.btn-primary:hover { background: #F0E1BD; }
.btn-ghost { border-color: rgba(230, 210, 163, 0.6); color: var(--champagne); }
.btn-ghost:hover { border-color: var(--champagne); }
.btn-dark { background: var(--forest); color: var(--paper); }
.btn-dark:hover { background: var(--forest-deep); }

/* sections */
.section .wrap { padding-block: var(--space-5); display: grid; gap: var(--space-4); }
.section-head { display: grid; gap: var(--space-1); max-width: var(--measure); }
.section-head p { color: var(--stone); }
.section-paper { background: var(--paper); }

/* works */
.works { display: grid; grid-template-columns: 1fr; gap: var(--space-4) var(--space-3); }
@media (min-width: 720px) {
  .works { grid-template-columns: 1fr 1fr; }
  .work-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-3); align-items: start; }
}
.work { display: grid; gap: var(--space-2); align-content: start; min-width: 0; scroll-margin-top: var(--space-3); }
.work-photo { background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.work-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.work-featured .work-photo img { aspect-ratio: 4 / 4.4; }
.work-body { display: grid; gap: 0.75rem; min-width: 0; }
.work-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1rem; color: var(--stone); font-size: var(--step--1); font-variant-numeric: tabular-nums; }
.price { color: var(--ink); font-weight: 600; font-size: var(--step-0); }
.status { font-size: var(--step--1); padding: 0.1rem 0.55rem; border-radius: 999px; border: 1px solid currentColor; }
.status-available { color: var(--forest); }
.status-sold, .status-reserved, .status-not-for-sale { color: var(--sold); }
.work-story { max-width: var(--measure); }

details.more { border-top: 1px solid var(--line); }
details.more summary {
  cursor: pointer;
  list-style: none;
  padding-block: 0.75rem;
  font-weight: 600;
  font-size: var(--step--1);
  color: var(--forest);
  display: flex;
  justify-content: space-between;
}
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: "+"; font-weight: 400; font-size: 1.2em; line-height: 1; }
details.more[open] summary::after { content: "–"; }
.more-body { display: grid; gap: var(--space-2); padding-bottom: var(--space-2); }
.more-photos { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-1); }
.more-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.25rem 1rem; margin: 0; font-size: var(--step--1); }
.facts dt { color: var(--stone); }
.facts dd { margin: 0; min-width: 0; }
.work-links { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); font-size: var(--step--1); font-weight: 600; }

/* custom */
.custom { display: grid; gap: var(--space-4); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 820px) { .custom { grid-template-columns: 1fr 1fr; } }
.custom img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.custom-text { display: grid; gap: var(--space-3); min-width: 0; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2); counter-reset: step; }
.steps li { display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.75rem; counter-increment: step; }
.steps li::before {
  content: counter(step);
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--forest);
  width: 2.2rem; height: 2.2rem;
  border: 1px solid var(--forest);
  border-radius: 50%;
  display: grid; place-items: center;
}
.from { font-family: var(--font-display); font-size: var(--step-2); color: var(--forest); }

/* about */
.about { display: grid; gap: var(--space-4); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 820px) { .about { grid-template-columns: 0.8fr 1.2fr; } }
.about img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about-text { display: grid; gap: var(--space-2); max-width: var(--measure); min-width: 0; }
.signature { font-family: var(--font-display); font-size: var(--step-2); color: var(--forest); }

/* care */
.care { display: grid; grid-template-columns: 1fr; gap: var(--space-3); margin: 0; }
@media (min-width: 720px) { .care { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .care { grid-template-columns: repeat(3, 1fr); } }
.care div { display: grid; gap: 0.35rem; border-top: 1px solid var(--line); padding-top: var(--space-2); }
.care dt { font-family: var(--font-display); font-size: var(--step-1); color: var(--forest); }
.care dd { margin: 0; color: var(--ink); }
.todo { background: var(--champagne); color: var(--forest-deep); padding: 0 0.3em; border-radius: 2px; }

/* footer */
.site-foot { background: var(--forest-deep); }
.site-foot .wrap { padding-block: var(--space-4); display: grid; gap: var(--space-3); }
.foot-row { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); align-items: center; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); }
.foot-links a { display: inline-flex; align-items: center; gap: 0.45em; }
.foot-links .icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.foot-small { font-size: var(--step--1); color: #B9C6BE; }
