/* =====================================================================
   Willow Green — Landscape Architecture
   Starter stylesheet built to DESIGN_GUIDE.md
   Type & layout: Leibal   ·   Color grading: Orca Living
   ===================================================================== */

:root {
  /* -- Neutrals --------------------------------------------------- */
  --bone: #F0F0E8;
  --mist: #F3F3F3;
  --paper: #FFFFFF;
  --ink: #000000;

  /* -- Accent & lines -------------------------------------------- */
  --taupe: #90836F;
  --hairline: #E2E2E2;
  --hairline-strong: #DDDDDD;
  --line-dark: #333333;

  /* -- Roles ------------------------------------------------------ */
  --bg: var(--bone);
  --text: var(--ink);
  --accent: var(--taupe);

  /* -- Type ------------------------------------------------------- */
  /* Production face is the commercial "Maison Neue". Inter at weight
     200–300 is the free fallback specified in the design guide.      */
  --font: "Maison Neue", "Inter", -apple-system, "Helvetica Neue",
          "Segoe UI", system-ui, sans-serif;

  --track: 0.09375rem;   /* 1.5px — labels & headings */
  --track-wide: 0.12rem; /* nav / uppercase labels    */

  --header-h: 55px;
}

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

html { -webkit-font-smoothing: antialiased; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 200;          /* the signature thin weight */
  line-height: 1.7;
  letter-spacing: 2px;
  color: var(--text);
  background: var(--bg);
}

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

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  z-index: 100;
  color: var(--paper);                 /* white over the hero photo */
  mix-blend-mode: difference;          /* stays legible over imagery */
}
.site-header__mark {
  font-size: 0.75rem;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
}
.site-nav {
  display: flex;
  gap: 1.75rem;
  font-size: 0.625rem;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
}
.site-nav a { padding-bottom: 2px; border-bottom: 1px solid transparent; transition: border-color .25s ease; }
.site-nav a:hover,
.site-nav a:focus-visible { border-color: currentColor; }

/* =====================================================================
   SCREENS (full-viewport sections)
   ===================================================================== */
.screen {
  position: relative;
  width: 100%;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: flex-end;               /* text sits low */
  overflow: hidden;
}

/* Placeholder "landscape" grounds — swap for full-bleed photography.
   Warm, earthy grading to match the palette.                         */
.screen__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}
.media--hero {
  background:
    linear-gradient(180deg, #b7b09c 0%, #9aa088 38%, #6f7659 70%, #4d5340 100%);
}
.media--feature {
  background:
    linear-gradient(160deg, #cfc9ba 0%, #a89c86 45%, #7a6f5b 100%);
}
/* Legibility scrim */
.screen__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.38) 100%);
}

.screen__inner {
  padding: 0 1.5rem 3.75rem;
  color: var(--paper);
  max-width: 34rem;
}

.overline {
  font-size: 0.625rem;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  font-weight: 300;
  opacity: 0.85;
}

.screen__title {
  margin: 0.5rem 0 1rem;
  font-size: 1.25rem;
  font-weight: 200;
  letter-spacing: var(--track);
  line-height: 1.5;
  text-wrap: balance;
}
.screen__subtitle {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 200;
  letter-spacing: var(--track);
  line-height: 1.5;
  max-width: 18.625rem;
}
.screen__credit {
  margin-top: 2rem;
  font-size: 0.625rem;
  letter-spacing: var(--track);
  opacity: 0.8;
}

/* =====================================================================
   LINKS / BUTTONS
   ===================================================================== */
.link {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.625rem;
  font-weight: 300;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: color .25s ease, border-color .25s ease;
}
.link:hover,
.link:focus-visible { color: var(--taupe); border-color: var(--taupe); }
.link--onlight:hover { color: var(--taupe); }

/* =====================================================================
   CONTENT SECTION (on bone)
   ===================================================================== */
.section {
  padding: 6rem 1.5rem;
}
.section__head {
  max-width: 68rem;
  margin: 0 auto 3.5rem;
}
.section__title {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  font-weight: 200;
  letter-spacing: var(--track);
}
.section__subtitle {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 200;
  letter-spacing: var(--track);
  max-width: 22rem;
  color: var(--line-dark);
}

/* =====================================================================
   WORK GRID
   ===================================================================== */
.work-grid {
  max-width: 68rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 1.5rem;
}
.project { display: block; }
.project__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .6s ease;
}
.project:hover .project__img { transform: scale(1.02); }
.project__name {
  margin-top: 0.85rem;
  font-size: 0.9375rem;
  font-weight: 200;
  letter-spacing: var(--track);
}
.project__meta {
  margin-top: 0.15rem;
  font-size: 0.625rem;
  font-weight: 300;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--taupe);
}

/* Placeholder project imagery — earthy tints */
.tint-1 { background: linear-gradient(150deg, #b9b7a3, #7f8663); }
.tint-2 { background: linear-gradient(150deg, #cbc3b2, #948972); }
.tint-3 { background: linear-gradient(150deg, #aeb097, #6f7457); }
.tint-4 { background: linear-gradient(150deg, #d0cabb, #a2957c); }
.tint-5 { background: linear-gradient(150deg, #a9ad93, #5f6a4c); }
.tint-6 { background: linear-gradient(150deg, #c4bdac, #8a8067); }

/* =====================================================================
   STUDIO SPLIT
   ===================================================================== */
.section--studio { background: var(--mist); }
.split {
  max-width: 68rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split__media {
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #b4b39d, #74795c);
}
.statement {
  font-size: 0.875rem;
  font-weight: 200;
  line-height: 2;
  letter-spacing: 1.5px;
  max-width: 34rem;
  margin: 0 0 2.5rem;
}
.divided-list { list-style: none; margin: 0; padding: 0; }
.divided-list li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--hairline-strong);
  font-size: 0.75rem;
  font-weight: 200;
  letter-spacing: var(--track);
  display: flex;
  justify-content: space-between;
}
.divided-list li:last-child { border-bottom: 1px solid var(--hairline-strong); }
.divided-list span { color: var(--taupe); font-size: 0.625rem; text-transform: uppercase; }

/* =====================================================================
   JOURNAL
   ===================================================================== */
.journal-grid {
  max-width: 68rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 1.5rem;
}
.article__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.article__date {
  margin-top: 0.85rem;
  font-size: 0.625rem;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--taupe);
}
.article__title {
  margin: 0.35rem 0 0;
  font-size: 0.9375rem;
  font-weight: 200;
  letter-spacing: var(--track);
  line-height: 1.5;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  padding: 4rem 1.5rem 3rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.625rem;
  letter-spacing: var(--track);
}
.footer-inner {
  max-width: 68rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  text-transform: uppercase;
  color: var(--line-dark);
}
.site-footer a:hover { color: var(--taupe); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 900px) {
  .work-grid,
  .journal-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 560px) {
  .work-grid,
  .journal-grid { grid-template-columns: 1fr; }
  .site-nav { gap: 1rem; }
  .section { padding: 4rem 1.5rem; }
  :root { --header-h: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

:focus-visible { outline: 2px solid var(--taupe); outline-offset: 3px; }
