@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');

:root {
  color-scheme: dark;
  --navy: #071522;
  --navy-2: #0b1d2c;
  --navy-3: #10283a;
  --ivory: #f1eee7;
  --muted: #b3bdc5;
  --gold: #d3b16e;
  --gold-light: #e0c78f;
  --line: rgba(226, 216, 194, .19);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ivory);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.skip-link {
  position: absolute; left: -9999px; top: 10px; z-index: 100;
  padding: 10px 14px; background: var(--gold); color: var(--navy);
}
.skip-link:focus { left: 10px; }
.site-header {
  min-height: 86px; padding: 0 clamp(22px, 6vw, 96px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; border-bottom: 1px solid var(--line);
  background: rgba(7, 21, 34, .97);
}
.brand { display: inline-flex; align-items: baseline; gap: 9px; white-space: nowrap; }
.brand-name { font-size: 15px; font-weight: 700; letter-spacing: .17em; }
.brand-divider { color: var(--gold); font-size: 19px; }
.brand-role { color: var(--gold); font-size: 10px; font-weight: 600; letter-spacing: .22em; }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.primary-nav a {
  color: #d1d7dc; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; transition: color .2s ease;
}
.primary-nav a:hover, .primary-nav a.active { color: var(--gold-light); }
.menu-toggle { display: none; }
.hero {
  min-height: 0; padding: clamp(78px, 8vw, 112px) 12vw 66px;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 37%, rgba(36, 72, 99, .34), transparent 39%),
    linear-gradient(112deg, #071522 0%, #0b2031 63%, #081725 100%);
}
.hero::after {
  content: "TC"; position: absolute; right: 7vw; top: 20px;
  font-family: var(--serif); font-size: clamp(250px, 38vw, 520px);
  line-height: 1; color: rgba(228, 235, 239, .035);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.eyebrow {
  margin: 0; color: var(--gold); font-size: 10px; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }
.hero h1 {
  margin: 27px 0 26px; font-size: clamp(62px, 8.6vw, 112px);
  line-height: .98; letter-spacing: -.045em;
}
.hero h1 span { display: block; }
.gold-word, h2 em { color: var(--gold); font-weight: 500; }
.hero-intro { max-width: 475px; color: #c2cbd1; font-size: 15px; margin: 0 0 29px; }
.primary-link, .text-link {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 0 0 10px; border-bottom: 1px solid var(--gold);
  color: var(--ivory); font-size: 10px; font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase;
}
.primary-link span, .text-link span { color: var(--gold); font-size: 17px; }
.books-section { padding: 100px clamp(22px, 6vw, 96px) 115px; }
.section-intro {
  display: flex; justify-content: space-between; align-items: end;
  gap: 35px; margin: 0 3.5vw 46px;
}
.section-intro h2, .about-copy h2 {
  margin: 0 auto; max-width: 1000px; font-size: clamp(43px, 5vw, 67px);
  line-height: 1.05; letter-spacing: -.035em;
}
.section-note { max-width: 290px; margin: 0 0 7px; color: var(--muted); font-size: 13px; }
.collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.collection-card {
  min-width: 0; background: var(--navy-2);
  border: 1px solid rgba(226, 216, 194, .12);
  display: flex; flex-direction: column;
}
.card-image { display: block; position: relative; height: clamp(210px, 24vw, 330px); overflow: hidden; background: #102638; }
.card-image::after {
  content: ""; position: absolute; inset: 35% 0 0;
  background: linear-gradient(180deg, transparent, rgba(4, 14, 23, .67));
}
.card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s ease;
}
.card-image:hover img { transform: scale(1.035); }
.moorton .card-image img { object-position: center 46%; }
.progeny .card-image img { object-position: center 55%; }
.lighthouse .card-image img { object-position: center 42%; }
.card-index {
  position: absolute; z-index: 1; left: 20px; bottom: 17px;
  color: #f5f0e6; font-size: 9px; letter-spacing: .18em;
}
.card-index i { color: var(--gold); font-style: normal; padding: 0 5px; }
.card-body { padding: 27px 25px 30px; display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.card-kicker { margin: 0 0 10px; color: var(--gold); font-size: 9px; letter-spacing: .2em; font-weight: 600; }
.card-body h3 { margin: 0; font-size: clamp(31px, 3vw, 43px); line-height: 1.04; letter-spacing: -.025em; }
.card-description { color: #b9c3ca; font-size: 12px; line-height: 1.75; margin: 17px 0 23px; }
.card-link {
  margin-top: auto; padding-bottom: 8px; border-bottom: 1px solid rgba(211, 177, 110, .7);
  color: var(--ivory); font-size: 9px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
}
.card-link span { color: var(--gold); margin-left: 9px; font-size: 14px; }
.about-section {
  padding: 78px 8vw 86px; display: block; text-align: center;
  background: #0a1a28; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-copy h2 { margin-top: 0; }
.about-copy p { max-width: 700px; margin: 24px auto 22px; color: #bdc7ce; font-size: 14px; }
.site-footer { padding: 48px 6vw 27px; text-align: center; }
.footer-brand { justify-content: center; }
.footer-line { margin: 19px 0 23px; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 25px; margin: 25px 0 30px; }
.footer-links a { color: #c6cfd5; font-size: 10px; }
.footer-links a:hover { color: var(--gold-light); }
.site-footer small { color: #82909b; font-size: 9px; letter-spacing: .08em; }

@media (max-width: 900px) {
  .collection-grid { grid-template-columns: 1fr 1fr; }
  .collection-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .collection-card:last-child .card-image { height: 100%; min-height: 280px; }
  .collection-card:last-child .card-body { justify-content: center; }
}
@media (max-width: 640px) {
  .site-header { min-height: 76px; padding: 0 21px; position: relative; }
  .brand { gap: 6px; }
  .brand-name { font-size: 12px; letter-spacing: .13em; }
  .brand-role { font-size: 9px; letter-spacing: .16em; }
  .brand-divider { font-size: 16px; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line);
    background: transparent; color: var(--ivory); padding: 9px 11px;
    font: 600 10px var(--sans); letter-spacing: .12em; text-transform: uppercase;
  }
  .menu-icon { width: 15px; height: 10px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); position: relative; }
  .menu-icon::after { content: ""; position: absolute; top: 4px; left: 0; right: 0; border-top: 1px solid var(--gold); }
  .primary-nav {
    display: none; position: absolute; z-index: 10; top: 100%; left: 0; right: 0;
    padding: 15px 22px 19px; background: #091a28; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 12px 0; border-bottom: 1px solid rgba(226,216,194,.09); }
  .primary-nav a:last-child { border-bottom: 0; }
  .hero { min-height: 0; padding: 70px 7vw 58px; }
  .hero h1 { font-size: clamp(48px, 11.5vw, 70px); line-height: 1.02; letter-spacing: -.04em; }
  .hero h1 span { white-space: nowrap; }
  .hero-intro { max-width: 390px; font-size: 14px; }
  .hero::after { right: -14vw; top: 160px; font-size: 68vw; }
  .books-section { padding: 72px 20px 78px; }
  .section-intro { display: block; margin: 0 3px 28px; }
  .section-note { margin-top: 18px; }
  .collection-grid { grid-template-columns: 1fr; gap: 17px; }
  .collection-card:last-child { grid-column: auto; display: flex; }
  .collection-card:last-child .card-image { height: 245px; min-height: 0; }
  .card-image { height: 250px; }
  .card-body { padding: 25px 23px 28px; }
  .card-body h3 { font-size: 39px; }
  .about-section { display: block; padding: 65px 8vw 72px; }
  .about-copy { max-width: 1040px; margin: 0 auto; }
  .about-copy h2 { font-size: 45px; }
  .footer-links { gap: 17px; }
}
@media (max-width: 360px) {
  .brand-name { font-size: 10px; letter-spacing: .1em; }
  .brand-role { font-size: 8px; letter-spacing: .12em; }
  .menu-toggle { padding: 8px 9px; }
  .hero h1 { font-size: 45px; }
}

.about-copy .text-link { display: inline-flex; justify-content: center; }


/* Mobile hero image-strip comparison. Desktop layout remains unchanged. */
.hero-image-strip { display: none; }
@media (max-width: 900px) {
  .hero h1 .headline-pair { white-space: nowrap; }
  .hero h1 .headline-pair > span { display: inline; }
  .hero-image-strip {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
    width: 100%;
    max-width: 100%;
    margin: 27px 0 25px;
    overflow: hidden;
  }
  .hero-image-strip img {
    display: block;
    min-width: 0;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border-radius: 1px;
  }
  .hero h1 { margin-bottom: 0; }
}


/* Desktop V10 additions. The mobile V3 stylesheet above is preserved verbatim. */
.desktop-home-hero, .desktop-portfolio-intro { display: none; }
@media (min-width: 901px) {
  .hero:not(.desktop-home-hero) { display: none; }
  .desktop-home-hero {
    display: block; position: relative; overflow: hidden;
    padding: clamp(32px, 4vh, 48px) clamp(38px, 6.2vw, 96px) clamp(28px, 3.6vh, 44px);
    background: radial-gradient(ellipse at 78% 37%, rgba(36,72,99,.34), transparent 39%), linear-gradient(112deg,#071522 0%,#0b2031 63%,#081725 100%);
  }
  .desktop-home-hero::after { content:"TC"; position:absolute; right:5vw; top:-20px; font-family:var(--serif); font-size:clamp(300px,34vw,500px); line-height:1; color:rgba(228,235,239,.035); pointer-events:none; }
  .desktop-hero-layout { position:relative; z-index:1; width:100%; max-width:1600px; margin:0 auto; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(28px,3.2vw,52px); align-items:center; }
  .desktop-hero-copy { min-width:0; }
  .desktop-hero-copy .eyebrow { margin:0 0 22px; }
  .desktop-hero-headline { margin:0 0 22px; font-family:var(--serif); font-size:clamp(62px,6.15vw,94px); line-height:.96; letter-spacing:-.045em; font-weight:500; }
  .desktop-hero-headline span { display:block; white-space:nowrap; }
  .desktop-hero-headline .gold-word { color:var(--gold); }
  .desktop-tagline { max-width:620px; margin:12px 0 15px; color:var(--gold); font-size:clamp(17px,1.35vw,20px); line-height:1.4; }
  .desktop-intro { max-width:620px; margin:0 0 22px; color:#c2cbd1; font-size:clamp(14px,1.08vw,16px); line-height:1.55; }
  .desktop-hero-copy .primary-link { margin:0; }
  .desktop-gallery { width:min(100%,650px,calc((100vh - 190px)*1.125)); aspect-ratio:9/8; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); grid-template-rows:repeat(2,minmax(0,1fr)); gap:7px; justify-self:end; min-width:0; overflow:hidden; }
  .desktop-gallery img { display:block; width:100%; height:100%; min-width:0; object-fit:contain; object-position:center; background:#071522; }
  .books-section { padding:68px clamp(38px,6vw,96px) 115px; }
  .books-section .section-intro { display:none; }
  .desktop-portfolio-intro { display:block; margin:0 3.5vw 42px; }
  .desktop-portfolio-intro h2 { margin:0; white-space:nowrap; font-family:var(--serif); font-size:clamp(48px,5vw,68px); line-height:1.05; letter-spacing:-.035em; font-weight:500; color:var(--ivory); }
  .desktop-portfolio-intro h2 em { color:var(--gold); font-weight:500; }
}
@media (min-width:901px) and (max-height:720px) {
  .desktop-home-hero { padding-top:24px; padding-bottom:24px; }
  .desktop-hero-copy .eyebrow { margin-bottom:15px; }
  .desktop-hero-headline { font-size:clamp(56px,5.5vw,82px); margin-bottom:16px; }
  .desktop-tagline { margin-top:10px; margin-bottom:11px; }
  .desktop-intro { margin-bottom:15px; }
  .desktop-gallery { width:min(100%,600px,calc((100vh - 145px)*1.125)); }
}
