/* Della Cate · Folio: text block, gilt hairlines, slab display type */

:root {
  --vellum: #efe6d2;
  --vellum-deep: #e7dbc2;
  --cream: #f6efdf;
  --deep: #2f4436;
  --deep-soft: #3c5343;
  --gilt: #b3924f;
  --gilt-ink: #6f5729;
  --ink: #26241f;
  --ink-soft: #57513f;
  --rule: rgba(38, 36, 31, 0.16);
  --rule-gilt: rgba(179, 146, 79, 0.5);
  --cream-text: #f4eddd;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--vellum);
  color: var(--ink);
  font-family: 'Alumni Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 20px;
  line-height: 1.58;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: 'Montagu Slab', Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.005em;
}

p { margin: 0 0 1.05rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--deep); }

.shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 30px;
}

.frame {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 56px;
}

/* ---------- header ---------- */

.site-header {
  background: var(--vellum);
  border-bottom: 1px solid var(--rule-gilt);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
}

.brand .mark {
  font-family: 'Montagu Slab', Georgia, serif;
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand .sub {
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gilt-ink);
  margin-top: 7px;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.3rem;
}

.main-nav a {
  font-size: 0.74rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 0.3rem 0 0.22rem;
  border-bottom: 1px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--deep);
  border-bottom-color: var(--gilt);
}

.main-nav a[aria-current="page"] {
  color: var(--deep);
  border-bottom-color: var(--gilt);
}

/* CTA: explicit override so the nav link colour cannot swallow the button label */
.main-nav a.btn {
  color: var(--cream-text);
  border-bottom: 1px solid var(--deep);
}

.main-nav a.btn:hover,
.main-nav a.btn:focus-visible {
  color: var(--cream-text);
  background: var(--ink);
  border-bottom-color: var(--ink);
}

.btn {
  display: inline-block;
  font-family: 'Alumni Sans', Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--deep);
  color: var(--cream-text);
  border: 1px solid var(--deep);
  padding: 0.72rem 1.5rem 0.62rem;
  transition: background-color 120ms linear, color 120ms linear;
}

.btn:hover,
.btn:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream-text);
}

.main-nav a.btn { padding: 0.55rem 1.1rem 0.47rem; }

/* ---------- hero ---------- */

.hero {
  text-align: center;
  padding: 2.7rem 0 3.3rem;
}

.hero-copy {
  max-width: 780px;
  margin: 0 auto;
  padding: 1.9rem 2.6rem 1.75rem;
  border: 1px solid var(--gilt);
  border-top-width: 3px;
  border-bottom-width: 3px;
  border-top-style: double;
  border-bottom-style: double;
  border-top-color: var(--gilt);
  border-bottom-color: var(--gilt);
}

.eyebrow {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.27em;
  text-transform: uppercase;
  color: var(--gilt-ink);
}

.hero h1 {
  font-size: clamp(2.9rem, 7.4vw, 4.7rem);
  margin: 0.7rem 0 1rem;
  line-height: 0.98;
}

.hero .lede {
  max-width: 33rem;
  margin: 0 auto 1.6rem;
  font-size: 1.06rem;
  line-height: 1.62;
  color: var(--ink-soft);
}

.hero-plate {
  width: 300px;
  max-width: 66vw;
  margin: 2.3rem auto 0;
  padding: 9px;
  background: var(--cream);
  border: 1px solid var(--gilt);
}

.hero-plate img { display: block; width: 100%; }

.hero-folio {
  margin: 1.1rem 0 0;
  font-family: 'Montagu Slab', Georgia, serif;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  color: var(--gilt-ink);
}

/* ---------- section furniture ---------- */

.section {
  position: relative;
  padding: 3.1rem 0 3.3rem;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  border-top: 1px solid var(--rule-gilt);
  border-bottom: 1px solid var(--rule-gilt);
}

.sec-head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 0 0 1.7rem;
}

.sec-head .no {
  font-family: 'Montagu Slab', Georgia, serif;
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  color: var(--gilt-ink);
  padding-bottom: 0.2rem;
}

.sec-head h2 {
  font-size: clamp(1.42rem, 2.9vw, 1.95rem);
  white-space: nowrap;
}

.sec-head .line {
  flex: 1 1 auto;
  min-width: 36px;
  height: 5px;
  border-top: 1px solid var(--gilt);
  border-bottom: 1px solid var(--gilt);
  opacity: 0.8;
}

.sec-note {
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 46rem;
  margin: -0.7rem 0 1.7rem;
}

/* ---------- partners ---------- */

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 250px));
  justify-content: center;
  gap: 18px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 150px;
  padding: 10px;
  background: var(--cream);
  border: 1px solid var(--rule-gilt);
  text-decoration: none;
  color: var(--ink);
}

.partner-card img {
  display: block;
  max-width: 100%;
  max-height: 92px;
  width: auto;
  object-fit: contain;
}

.partner-card .p-name {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gilt-ink);
}

.partner-card:hover,
.partner-card:focus-visible {
  border-color: var(--gilt);
  background: #fbf6ea;
}

/* ---------- quick profile ---------- */

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3.4rem;
}

.profile-row {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  gap: 0.8rem;
  align-items: baseline;
  padding: 0.62rem 0;
  border-bottom: 1px solid var(--rule);
}

.profile-row dt {
  font-size: 0.66rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--gilt-ink);
}

.profile-row dd {
  margin: 0;
  font-family: 'Montagu Slab', Georgia, serif;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--ink);
}

/* ---------- about ---------- */

.about-body {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.about-body p {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.66;
}

.about-body p:first-child {
  font-family: 'Montagu Slab', Georgia, serif;
  font-size: 1.16rem;
  line-height: 1.5;
}

.about-mark {
  width: 88px;
  height: 5px;
  margin: 1.9rem auto 0;
  border-top: 1px solid var(--gilt);
  border-bottom: 1px solid var(--gilt);
}

/* ---------- career spread ---------- */

.spread { border-top: 1px solid var(--rule-gilt); }

.spread-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 2.2rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
}

.spread-row .year {
  font-family: 'Montagu Slab', Georgia, serif;
  font-size: 2.05rem;
  line-height: 1;
  color: var(--deep);
  padding-right: 1.4rem;
  border-right: 1px solid var(--rule-gilt);
}

.spread-row .year span {
  display: block;
  margin-top: 0.55rem;
  font-family: 'Alumni Sans', Arial, sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gilt-ink);
}

.spread-row ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.spread-row li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.42rem;
}

.spread-row li:last-child { margin-bottom: 0; }

.spread-row li::before {
  content: "\00b7";
  position: absolute;
  left: 0.15rem;
  color: var(--gilt-ink);
}

/* ---------- gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.plate {
  margin: 0;
  grid-column: span 2;
  padding: 7px;
  background: var(--cream);
  border: 1px solid var(--rule-gilt);
}

.plate.wide { grid-column: span 3; }
.plate img { display: block; width: 100%; }

/* ---------- social ---------- */

.social-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3.2rem;
  max-width: 60rem;
}

.social-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0 0.72rem;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
}

.social-link .platform {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gilt-ink);
}

.social-link .handle {
  font-family: 'Montagu Slab', Georgia, serif;
  font-size: 0.94rem;
  font-weight: 400;
}

.social-link:hover,
.social-link:focus-visible { border-bottom-color: var(--gilt); }

.social-link:hover .handle,
.social-link:focus-visible .handle { color: var(--deep); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--deep);
  color: var(--cream-text);
  margin-top: 3.4rem;
}

.footer-rule {
  height: 6px;
  border-top: 1px solid var(--gilt);
  border-bottom: 1px solid var(--gilt);
}

.site-footer .shell {
  display: grid;
  grid-template-columns: 1.15fr 1.5fr 0.95fr;
  gap: 1.6rem;
  align-items: center;
  padding-top: 2.1rem;
  padding-bottom: 2.2rem;
}

.f-brand {
  font-family: 'Montagu Slab', Georgia, serif;
  font-size: 1.02rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-text);
}

.f-tag {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #ddd6c2;
  max-width: 24rem;
}

.langs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.95rem;
}

.langs a {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream-text);
  padding-bottom: 0.15rem;
  border-bottom: 1px solid transparent;
}

.langs a:hover,
.langs a:focus-visible { color: #e2cfa5; border-bottom-color: #e2cfa5; }

.langs a[aria-current="true"] { color: #e2cfa5; border-bottom-color: #e2cfa5; }

.f-right {
  text-align: right;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ddd6c2;
}

/* ---------- subpages ---------- */

.page-head {
  text-align: center;
  padding: 3.4rem 0 2.4rem;
}

.page-head h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.5rem);
  margin: 0.75rem 0 1rem;
}

.page-head .lede {
  max-width: 42rem;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.page-head .rule {
  width: 120px;
  height: 5px;
  margin: 1.9rem auto 0;
  border-top: 1px solid var(--gilt);
  border-bottom: 1px solid var(--gilt);
}

.page-body {
  max-width: 742px;
  margin: 0 auto;
  padding: 0 0 3.6rem;
}

.entry { margin-bottom: 2.5rem; }

.entry h2 {
  font-size: clamp(1.32rem, 2.6vw, 1.62rem);
  margin-bottom: 0.7rem;
}

.entry p { color: var(--ink); }

.note {
  margin: 2rem 0 0;
  padding: 0.85rem 0 0.85rem 1.25rem;
  border-left: 1px solid var(--gilt);
  color: var(--ink-soft);
  font-style: italic;
  font-size: 0.98rem;
}

.ledger-wrap { width: 100%; }

.ledger {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  text-align: left;
}

.ledger th {
  font-family: 'Alumni Sans', Arial, sans-serif;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gilt-ink);
  padding: 0.55rem 1rem 0.55rem 0;
  border-bottom: 1px solid var(--gilt);
  vertical-align: bottom;
}

.ledger td {
  padding: 0.85rem 1rem 0.85rem 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

.ledger td.y {
  font-family: 'Montagu Slab', Georgia, serif;
  color: var(--deep);
  white-space: nowrap;
  width: 4.2rem;
}

.ledger .t { font-weight: 600; }

.ledger .s { color: var(--ink-soft); }

.ledger-note {
  margin-top: 1.4rem;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.studio-list {
  columns: 2;
  column-gap: 2.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.studio-list li {
  break-inside: avoid;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--rule);
}

.qa {
  padding: 1.4rem 0 1.35rem;
  border-bottom: 1px solid var(--rule);
}

.qa h2 {
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
  font-size: 1.16rem;
  margin-bottom: 0.45rem;
}

.qa .qn {
  font-family: 'Montagu Slab', Georgia, serif;
  font-size: 0.78rem;
  color: var(--gilt-ink);
  letter-spacing: 0.08em;
}

.qa p { color: var(--ink-soft); }

/* ---------- 404 ---------- */

.notfound {
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
}

.notfound .code {
  font-family: 'Montagu Slab', Georgia, serif;
  font-size: 0.8rem;
  letter-spacing: 0.34em;
  color: var(--gilt-ink);
}

.notfound h1 {
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  margin: 0.9rem 0 1rem;
}

.notfound p {
  max-width: 34rem;
  color: var(--ink-soft);
  margin-bottom: 1.8rem;
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .frame { padding: 0 34px; }
  .profile-grid { gap: 0 2.2rem; }
  .site-footer .shell { grid-template-columns: 1.4fr 1fr; }
  .f-right { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 820px) {
  body { font-size: 18.5px; }
  .frame { padding: 0 22px; border-left: 0; border-right: 0; }
  .site-header .shell { padding-top: 14px; padding-bottom: 12px; align-items: flex-start; }
  .main-nav { width: 100%; gap: 0.3rem 0.95rem; }
  .main-nav a { font-size: 0.7rem; letter-spacing: 0.13em; }
  .main-nav a.btn { flex: 1 0 100%; text-align: center; margin-top: 0.6rem; padding: 0.62rem 1rem 0.52rem; }
  .hero { padding: 1.9rem 0 2.5rem; }
  .hero-copy { padding: 1.4rem 1.1rem 1.3rem; }
  .hero-plate { width: 82vw; max-width: 320px; }
  .section { padding: 2.5rem 0 2.6rem; }
  .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { height: 140px; }
  .profile-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .plate, .plate.wide { grid-column: auto; }
  .social-list { grid-template-columns: 1fr; }
  .spread-row { grid-template-columns: 96px minmax(0, 1fr); gap: 1.3rem; }
  .spread-row .year { font-size: 1.6rem; padding-right: 0.9rem; }
  .site-footer .shell { grid-template-columns: 1fr; gap: 1.5rem; }
  .page-head { padding: 2.6rem 0 1.9rem; }
}

@media (max-width: 700px) {
  .ledger thead { display: none; }
  .ledger tr {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--rule);
  }
  .ledger td {
    display: block;
    border: 0;
    padding: 0.1rem 0;
    width: auto;
  }
  .ledger td::before {
    content: attr(data-label) ": ";
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gilt-ink);
  }
  .studio-list { columns: 1; }
}

@media (max-width: 480px) {
  .shell { padding: 0 18px; }
  .frame { padding: 0 18px; }
  .sec-head { gap: 0.7rem; }
  .sec-head h2 { white-space: normal; }
  .sec-head .line { display: none; }
  .profile-row { grid-template-columns: 1fr; gap: 0.15rem; }
}
