/* Ryland Studio — slate, daffodil, moss and limewash */
:root {
  --limewash: #F2EEE7;
  --stone: #E7E2D8;
  --slate: #36434A;
  --slate-deep: #2C383E;
  --slate-ink: #283238;
  --moss: #5E6B4E;
  --moss-deep: #56624A;
  --daffodil: #D9B65C;
  --brick: #B5584C;
  --brick-deep: #9A473C;
  --muted: #5C676C;
  --faint: #8F989C;
  --mist: #B9C1C4;
  --line: #36434A21;
  --line-soft: #36434A14;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Work Sans", system-ui, sans-serif;
  --gutter: 48px;
}

@font-face {
  font-family: "FAB";
  src: url("/assets/fonts/fa-brands-400.woff2") format("woff2");
  font-weight: 400;
  font-display: block;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--limewash);
  color: var(--slate);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
}
a { color: var(--slate); text-decoration: none; transition: color .16s ease, background .16s ease, border-color .16s ease; }
a:hover { color: var(--moss); }
::selection { background: var(--stone); color: var(--slate); }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
em { font-style: italic; }

/* ---------- Layout ---------- */
.wrap { max-width: 1140px; margin: 0 auto; padding: 110px var(--gutter); }
section[id] { scroll-margin-top: 90px; }
.bg-stone { background: var(--stone); }
.bg-moss { background: var(--moss); color: var(--limewash); }
.bg-slate { background: var(--slate); color: var(--limewash); }
.rule-top { border-top: 1px solid var(--line-soft); }
.grid { display: grid; gap: 28px; }
.cols-220 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.cols-240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px; }
.cols-260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cols-280 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cols-300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* ---------- Type ---------- */
.eyebrow {
  color: var(--moss);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  margin: 0 0 24px;
}
.bg-moss .eyebrow { color: var(--stone); }
.bg-slate .eyebrow { color: var(--daffodil); }
.serif { font-family: var(--serif); font-weight: 400; }
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2.9rem;
  line-height: 1.08;
  text-wrap: balance;
}
.h2--lg { font-size: 3.2rem; line-height: 1.05; }
.h2 em, h1 em { color: var(--moss); }
.bg-moss .h2 em { color: var(--stone); }
.bg-slate .h2 em { color: var(--daffodil); }
.lede { margin-top: 30px; color: var(--muted); max-width: 56ch; }
.intro { margin-top: 32px; max-width: 64ch; font-size: 1.1rem; color: var(--muted); }
.bg-moss .intro { color: #F2EEE7E0; }
.bg-slate .intro { color: #F2EEE7B3; }
.muted { color: var(--muted); }
.small { font-size: .94rem; }

/* ---------- Links & buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brick);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 18px 38px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 300;
  cursor: pointer;
  transition: background .16s ease;
}
.btn:hover { background: var(--brick-deep); color: #fff; }
.btn--sm { padding: 12px 26px; font-size: inherit; }
.link {
  color: var(--moss);
  font-size: .85rem;
  letter-spacing: .04em;
  border-bottom: 1px solid #5E6B4E55;
  padding-bottom: 2px;
  width: fit-content;
}
.link:hover { color: var(--slate); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 20px var(--gutter);
  background: #F2EEE7E6;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: .9rem;
  letter-spacing: .02em;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav__links a:not(.btn) { color: var(--muted); }
.nav__links a:not(.btn):hover { color: var(--moss); }

/* Logo lockup: arch + RYLAND / STUDIO */
.logo { font-family: var(--serif); font-size: 1.5rem; line-height: 1; }
.logo__inner { display: inline-flex; align-items: center; gap: .45em; vertical-align: middle; }
.logo__arch {
  width: .9em;
  height: 1.2em;
  flex: none;
  border: .075em solid var(--slate);
  border-radius: .45em .45em 0 0;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: .24em;
  line-height: .8;
  color: var(--slate);
}
.logo__arch span { font-size: .8em; font-weight: 600; }
.logo__words { display: inline-flex; flex-direction: column; gap: .2em; line-height: 1; }
.logo__name { font-weight: 500; font-size: .66em; letter-spacing: .3em; color: var(--slate); }
.logo__sub { font-family: var(--sans); font-weight: 500; font-size: .3em; letter-spacing: .5em; color: var(--moss); }

/* ---------- Hero ---------- */
.hero { padding-top: 190px; }
.hero .eyebrow { margin-bottom: 30px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.4rem, 7vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  text-wrap: balance;
  max-width: 16ch;
}
.hero__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 80px;
  align-items: end;
  margin-top: 56px;
}
.hero__row p { font-size: 1.15rem; color: var(--muted); max-width: 48ch; }
.hero__ctas { display: flex; align-items: center; gap: 28px; justify-content: flex-end; flex-wrap: wrap; }
.hero__ctas .quiet { color: var(--muted); border-bottom: 1px solid #36434A33; padding-bottom: 2px; }
.hero__ctas .quiet:hover { color: var(--moss); }
.hero__image { margin-top: 80px; height: 440px; border-radius: 16px; overflow: hidden; background: var(--stone); }
.stats { margin-top: 56px; border-top: 1px solid var(--line); padding-top: 40px; }
.stat__num { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--moss); }
.stat__label { color: var(--muted); font-size: .94rem; margin-top: 8px; }

/* ---------- Images ---------- */
.cover { width: 100%; height: 100%; object-fit: cover; }
.slot {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: var(--faint);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: repeating-linear-gradient(135deg, transparent 0 14px, #36434A0A 14px 15px);
}

/* ---------- Three jobs ---------- */
.job {
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid transparent;
}
.job__num { font-family: var(--serif); font-size: 1.3rem; }
.job h3 { font-family: var(--serif); font-weight: 400; font-size: 2.1rem; line-height: 1; }
.job p { font-size: .96rem; }
.job__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px solid; }
.tag { border-radius: 999px; padding: 6px 14px; font-size: .78rem; }

.job--decide { background: var(--moss); color: var(--limewash); }
.job--decide:hover { background: var(--moss-deep); color: var(--limewash); }
.job--decide .job__num { color: var(--stone); }
.job--decide p { color: #F2EEE7E0; }
.job--decide .job__tags { border-color: #F2EEE733; }
.job--decide .tag { background: #F2EEE71F; color: var(--limewash); }

.job--build { background: var(--limewash); border-color: var(--line); }
.job--build:hover { border-color: var(--moss); color: var(--slate); }
.job--build .job__num { color: var(--moss); }
.job--build p { color: var(--muted); }
.job--build .job__tags { border-color: var(--line); }
.job--build .tag { background: var(--stone); color: var(--muted); }

.job--show { background: var(--slate); color: var(--limewash); }
.job--show:hover { background: var(--slate-deep); color: var(--limewash); }
.job--show .job__num { color: var(--daffodil); }
.job--show p { color: #F2EEE7CC; }
.job--show .job__tags { border-color: #F2EEE726; }
.job--show .tag { background: #F2EEE71A; color: var(--daffodil); }

/* ---------- Cards ---------- */
.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card .link { margin-top: auto; }
.quote { font-family: var(--serif); font-size: 1.45rem; line-height: 1.35; }

/* ---------- Decide ---------- */
.testimonial {
  background: var(--limewash);
  color: var(--slate);
  border-radius: 16px;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.testimonial__mark { font-family: var(--serif); font-size: 3rem; line-height: .5; color: var(--moss); }
.testimonial p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; }
.person { display: flex; align-items: center; gap: 16px; margin-top: auto; }
.person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.person__name { font-weight: 400; }
.person__role { color: var(--moss); font-size: .82rem; }

/* ---------- Build ---------- */
.steps { margin-top: 56px; border-top: 1px solid var(--line); padding-top: 36px; }
.step__num { font-family: var(--serif); color: var(--moss); font-size: 1.6rem; }
.step__title { font-size: 1.1rem; font-weight: 400; margin: 14px 0 10px; }
.case {
  margin-top: 48px;
  background: var(--stone);
  border-radius: 16px;
  overflow: hidden;
}
.case__text { padding: 44px; display: flex; flex-direction: column; gap: 18px; }
.case__text .eyebrow { margin: 0; }
.case__text h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.15; }
.case__text p { color: var(--muted); font-size: .94rem; }
.case__text strong { font-weight: 500; color: var(--slate); }
.case__text .link { margin-top: auto; font-size: .88rem; }
.case__images { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 24px; }
.case__images > div { border-radius: 12px; overflow: hidden; min-height: 200px; background: var(--limewash); }
.contain { object-fit: contain; padding: 18px; }
.case__images > .on-slate { background: var(--slate); }

/* ---------- Show ---------- */
.films { margin-top: 64px; }
.film { display: flex; flex-direction: column; gap: 16px; }
.film__frame { height: 400px; border-radius: 16px; overflow: hidden; background: var(--slate-ink); }
.film__frame video { width: 100%; height: 100%; object-fit: cover; }
.film__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.film__title { font-family: var(--serif); font-size: 1.35rem; }
.film__link {
  color: var(--daffodil);
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-bottom: 1px solid #D9B65C55;
  padding-bottom: 2px;
}
.film__link:hover { color: var(--limewash); }
.offer-list { margin-top: 72px; padding-top: 40px; border-top: 1px solid #F2EEE726; }
.offer-list h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--daffodil); }
.offer-list p { margin-top: 10px; color: #F2EEE7B3; font-size: .94rem; }

/* ---------- Work ---------- */
.work { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); margin-top: 56px; }
.work__item { display: flex; flex-direction: column; gap: 20px; color: var(--slate); }
.work__item:hover { color: var(--moss); }
.work__image { height: 380px; border-radius: 999px 999px 16px 16px; overflow: hidden; background: var(--stone); }
.work__image--navy { background: #111832; }
.work__image--slate { background: var(--slate); }
.work__body { display: flex; flex-direction: column; gap: 8px; }
.work__body .eyebrow { margin: 0; }
.work__title { font-family: var(--serif); font-size: 1.7rem; line-height: 1.15; }
.work__body .link { display: inline-block; }

.brand-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin-top: 56px;
  padding: 32px 36px;
  border: 1px dashed #36434A40;
  border-radius: 16px;
}
.brand-link:hover { border-color: var(--moss); color: var(--slate); }
.brand-link__arch {
  width: 52px;
  height: 69px;
  flex: none;
  border: 2px solid var(--moss);
  border-radius: 26px 26px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 14px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 38px;
  line-height: .8;
}
.brand-link__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.brand-link__text .eyebrow { margin: 0; }
.brand-link__title { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; }
.brand-link__title em { color: var(--moss); }
.brand-link .link { white-space: nowrap; }

/* ---------- Pricing ---------- */
.price {
  background: var(--limewash);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.price .eyebrow { margin: 0; }
.price__amount { font-family: var(--serif); font-size: 2.6rem; line-height: 1; }
.price__amount span { font-size: 1.1rem; color: var(--muted); }
.price__lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: .92rem;
  color: var(--muted);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.price__lines div { display: flex; justify-content: space-between; gap: 12px; }
.price__lines span:last-child { color: var(--slate); text-align: right; }
.price__links { display: flex; gap: 20px; flex-wrap: wrap; }
.fineprint { margin-top: 36px; color: var(--faint); font-size: .88rem; max-width: 72ch; }

/* ---------- Good fit ---------- */
.fit {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.fit h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
.fit ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; color: var(--muted); font-size: .96rem; }
.fit li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: baseline; }
.fit li::before { content: "\2014"; color: var(--moss); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 80px; align-items: start; }
.portrait { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; max-width: 300px; }
.portrait__frame { aspect-ratio: 3 / 4; border-radius: 150px 150px 16px 16px; overflow: hidden; background: var(--stone); }
.portrait__name { font-family: var(--serif); font-size: 1.4rem; }
.portrait__role { color: var(--moss); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.moment { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.moment__year { font-family: var(--serif); color: var(--moss); font-size: 1.4rem; line-height: 1.3; }
.moment__title { font-weight: 400; font-size: 1.05rem; }
.moment p { margin-top: 8px; color: var(--muted); font-size: .92rem; }

/* ---------- Also worth knowing ---------- */
.notes { padding-top: 80px; padding-bottom: 80px; display: grid; grid-template-columns: auto 1fr; gap: 28px 60px; align-items: baseline; }
.notes .eyebrow { margin: 0; }
.notes p { color: var(--muted); font-size: .98rem; max-width: 72ch; }

/* ---------- Enquire ---------- */
.enquire { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 80px; align-items: start; }
.enquire__intro p { margin-top: 20px; color: var(--muted); max-width: 50ch; }
.enquire__intro p.lede { margin-top: 30px; }
.enquire__direct { display: flex; flex-direction: column; gap: 14px; margin-top: 40px; }
.enquire__direct .btn { width: fit-content; }
.enquire__where { color: var(--faint); font-size: .86rem; }
.form-panel { background: var(--stone); border-radius: 16px; padding: 44px 40px; }
.form-panel .eyebrow { margin-bottom: 26px; }
.form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 9px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field__label { font-size: .9rem; padding: 0; }
.input {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--slate);
  background: var(--limewash);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  outline: none;
  min-width: 0;
  transition: border-color .16s ease;
}
.input:focus { border-color: var(--moss); }
.input::placeholder { color: var(--faint); }
textarea.input { resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: inherit;
  font-size: .88rem;
  font-weight: 300;
  cursor: pointer;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--limewash);
  color: var(--muted);
  transition: all .16s ease;
}
.chip:hover { border-color: var(--moss); }
.chip[aria-pressed="true"] { border-color: var(--moss); background: var(--moss); color: var(--limewash); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 6px; }
.form__submit .btn { padding: 17px 38px; }
.form__status { color: var(--faint); font-size: .85rem; }
.form__note { color: var(--faint); font-size: .82rem; }
.sent { display: flex; flex-direction: column; gap: 20px; text-align: center; padding: 40px 0; }
.sent h3 { font-family: var(--serif); font-weight: 400; font-size: 2.1rem; line-height: 1.1; }
.sent p { color: var(--muted); font-size: .96rem; }
.text-btn {
  background: none;
  border: none;
  border-bottom: 1px solid #5E6B4E55;
  color: var(--moss);
  font-family: inherit;
  font-size: .88rem;
  font-weight: 300;
  padding: 0 0 2px;
  cursor: pointer;
  width: fit-content;
  margin: 0 auto;
}
.text-btn:hover { color: var(--slate); }
[hidden] { display: none !important; }

/* ---------- Footer ---------- */
.footer { background: var(--slate); color: var(--limewash); }
.footer .wrap { padding-top: 56px; padding-bottom: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__mark { display: flex; align-items: center; gap: 14px; color: var(--mist); font-size: .82rem; }
.footer__arch {
  width: 22px;
  height: 29px;
  flex: none;
  border: 1.6px solid var(--daffodil);
  border-radius: 11px 11px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  line-height: .8;
  color: var(--daffodil);
}
.footer__links { display: flex; align-items: center; gap: 10px; font-size: .85rem; letter-spacing: .04em; flex-wrap: wrap; }
.social {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #F2EEE733;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "FAB";
  font-size: 18px;
  color: var(--limewash);
}
.social:hover { color: var(--slate); background: var(--daffodil); border-color: var(--daffodil); }
.footer__privacy { color: var(--mist); margin-left: 10px; }
.footer__privacy:hover { color: var(--daffodil); }

/* ---------- Focus ---------- */
:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; }
.bg-slate :focus-visible, .footer :focus-visible { outline-color: var(--daffodil); }

/* ---------- Small screens ---------- */
@media (max-width: 900px) {
  .nav__links a:not(.btn) { display: none; }
}
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .wrap { padding-top: 80px; padding-bottom: 80px; }
  .nav { padding-top: 14px; padding-bottom: 14px; gap: 16px; }
  .hero { padding-top: 140px; }
  .hero__row { grid-template-columns: 1fr; gap: 36px; }
  .hero__ctas { justify-content: flex-start; }
  .hero__image { height: 300px; margin-top: 56px; }
  .h2 { font-size: 2.3rem; }
  .h2--lg { font-size: 2.5rem; }
  .grid, .about, .enquire { grid-template-columns: 1fr; }
  .about, .enquire { gap: 56px; }
  .job, .card, .price, .fit { padding: 32px 26px; }
  .testimonial { padding: 36px 26px; }
  .case__text { padding: 32px 26px; }
  .case__images { padding: 0 16px 16px; }
  .film__frame { height: 320px; }
  .work__image { height: 320px; }
  .brand-link { grid-template-columns: auto minmax(0, 1fr); padding: 26px; gap: 20px; }
  .brand-link .link { grid-column: 1 / -1; white-space: normal; }
  .notes { grid-template-columns: 1fr; gap: 10px; }
  .notes p { margin-bottom: 18px; }
  .form-panel { padding: 32px 22px; }
  .moment { grid-template-columns: 64px 1fr; gap: 16px; }
}
