/* Garden Lane Studio website. Colors come from the emblem: the dark tree, sage hills, sand sky
   and the cream lane. Cormorant Garamond for the name and headings, Jost for everything else. */

@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-display: swap; src: url(fonts/cormorant-garamond-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 600; font-display: swap; src: url(fonts/cormorant-garamond-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-style: italic; font-display: swap; src: url(fonts/cormorant-garamond-latin-500-italic.woff2) format('woff2'); }
@font-face { font-family: 'Jost'; font-weight: 300; font-display: swap; src: url(fonts/jost-latin-300-normal.woff2) format('woff2'); }
@font-face { font-family: 'Jost'; font-weight: 400; font-display: swap; src: url(fonts/jost-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Jost'; font-weight: 500; font-display: swap; src: url(fonts/jost-latin-500-normal.woff2) format('woff2'); }

:root {
  --bg: #FAF7F0;
  --cream: #F3EEE2;
  --sand: #E2D6C3;
  --sage: #778061;
  --sage-ink: #5C6549;
  --ink: #3A3C34;
  --muted: #696B60;
  --rule: rgba(58, 60, 52, .14);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-weight: 400; font-size: 18px; line-height: 1.65;
}
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--sage-ink); }
img { max-width: 100%; display: block; }

.wrap { max-width: 1000px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 680px; margin-left: auto; margin-right: auto; }
.hero .narrow { max-width: 820px; }

/* the logo: emblem, then GARDEN LANE with STUDIO under it, aligned left.
   STUDIO is the name's size divided by the golden ratio (1.618). */
.logo { --n: 21px; display: inline-flex; align-items: center; gap: calc(var(--n) * .55); text-decoration: none; color: var(--ink); }
.logo img { width: calc(var(--n) * 2.1); height: calc(var(--n) * 2.1); }
.logo .word { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.logo .name { font-family: var(--serif); font-weight: 600; font-size: var(--n); letter-spacing: .09em; text-transform: uppercase; }
.logo .studio { font-family: var(--sans); font-weight: 400; font-size: calc(var(--n) / 1.618); letter-spacing: .34em; text-transform: uppercase; margin-top: calc(var(--n) * .3); }
.logo.big { --n: clamp(30px, 6vw, 46px); }

/* top bar */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; max-width: 1000px; margin: 0 auto; padding: 24px 28px; }
.bar .home { text-decoration: none; }
.bar.on-home .home { visibility: hidden; }
.nav { display: flex; gap: 26px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { text-decoration: none; color: var(--muted); font-size: 16px; letter-spacing: .02em; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--sage); }

/* type */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.4vw, 60px); line-height: 1.08; letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 4.2vw, 40px); line-height: 1.15; margin-bottom: 14px; }
h3 { font-size: 28px; line-height: 1.2; margin-bottom: 6px; }
p { margin: 0 0 14px; }
p { text-wrap: pretty; }
.lead { text-wrap: balance; font-family: var(--serif); font-size: clamp(24px, 3.2vw, 31px); line-height: 1.35; font-weight: 500; }
.lead em { font-style: italic; }
.muted { color: var(--muted); }
.small { font-size: 15px; color: var(--muted); margin: 0; }
.eyebrow { font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--sage-ink); margin-bottom: 14px; }

/* sections, separated by a hairline instead of boxes */
section { padding: 64px 0; }
section + section { border-top: 1px solid var(--rule); }
.center { text-align: center; }
.center .narrow { margin: 0 auto; }

/* hero */
.hero { padding: 56px 0 72px; text-align: center; }
.hero .logo { margin-bottom: 40px; }
.hero .lead { max-width: 640px; margin: 0 auto; }
.hero .muted { max-width: 560px; margin: 18px auto 0; }

/* the apps: two equal columns */
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 30px; border-top: 1px solid var(--rule); }
.app { padding: 32px 36px 8px 0; }
.app + .app { padding: 32px 0 8px 36px; border-left: 1px solid var(--rule); }
.app .what { margin-bottom: 16px; }
.app .status { display: inline-block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-ink); border: 1px solid rgba(119, 128, 97, .45); border-radius: 999px; padding: 3px 12px; margin-bottom: 14px; }
.app .go { font-size: 16px; }

/* three short values, side by side */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 26px; }
.values h3 { font-size: 24px; }
.values p { color: var(--muted); font-size: 17px; }

/* contact */
.mail { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 34px); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--sage); }
.mail:hover { color: var(--sage-ink); }
.facts { list-style: none; padding: 0; margin: 24px 0 0; }
.facts li { padding: 14px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 200px 1fr; gap: 16px; }
.facts li:last-child { border-bottom: 1px solid var(--rule); }
.facts .k { color: var(--muted); font-size: 16px; }

/* long text pages (About, Privacy) */
.prose h2 { font-size: 30px; margin-top: 38px; }
.prose ul { padding-left: 22px; margin: 0 0 14px; }
.prose li { margin-bottom: 6px; }

/* footer */
footer { border-top: 1px solid var(--rule); padding: 30px 0 44px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer nav a { text-decoration: none; color: var(--muted); font-size: 15px; }
footer nav a:hover, footer nav a[aria-current="page"] { color: var(--ink); }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .bar { flex-direction: column; align-items: center; padding: 20px 22px 6px; }
  .bar.on-home .home { display: none; }
  .wrap { padding: 0 22px; }
  section { padding: 48px 0; }
  .hero { padding: 36px 0 52px; }
  .apps { grid-template-columns: 1fr; }
  .app, .app + .app { padding: 28px 0 10px; border-left: 0; }
  .app + .app { border-top: 1px solid var(--rule); }
  .values { grid-template-columns: 1fr; gap: 10px; }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
  footer .wrap { flex-direction: column; align-items: flex-start; }
}
