:root {
  --ink: #080808;
  --ink-2: #111111;
  --paper: #f1efe9;
  --muted: #a8a49a;
  --line: rgba(241,239,233,.17);
  --line-light: rgba(8,8,8,.13);
  --accent: #e9e6de;
  --max: 1360px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }

.shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.eyebrow {
  font-size: .7rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}
.display {
  margin: 0;
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: .84;
  letter-spacing: -.055em;
  font-weight: 700;
  text-transform: uppercase;
}
.section-title {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: .92;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.lede {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.9rem);
  line-height: 1.5;
  max-width: 780px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8,8,8,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
/*.brand { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 14px; min-width: 0; width: max-content; outline: 2px solid red; }
.brand img { width: 62px; height: 46px; object-fit: contain; filter: invert(1) brightness(5); outline: 2px solid cyan;  }
.brand-copy { display: block; flex: 0 0 auto; font-size: .86rem; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; outline: 2px solid yellow; }*/
.brand {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 14px;
  width: max-content;
  min-width: 0;
}

.brand img {
  width: 62px;
  height: 46px;
  object-fit: contain;
  filter: invert(1) brightness(5);
}

.brand-copy {
  display: block;
  white-space: nowrap;
  font-size: .86rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #d6d3cc; }
.nav a:hover, .nav a[aria-current='page'] { color: #fff; }
.menu-button { display: none; background: none; color: #fff; border: 1px solid var(--line); padding: 10px 12px; }

.hero {
  min-height: calc(100svh - 88px);
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,.12), transparent 18%),
    linear-gradient(105deg, #050505 10%, #101010 48%, #040404 100%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.08) 54%, rgba(0,0,0,.25));
}
.hero-logo {
  position: absolute;
  z-index: 1;
  width: min(1200px, 120vw);
  top: 32%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: .75;
  filter: invert(1) brightness(5);
}
.hero-project-image {
  position: absolute;
  z-index: 1;

  right: 0;
  bottom: 3%;

  width: min(1200px, 62vw);
  aspect-ratio: 3513 / 1431;

  overflow: hidden;
}

.hero-project-image img {
  position: relative;
  z-index: 1;

  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-project-image {
  position: absolute;
  z-index: 1;

  right: 0;
  bottom: -3%;

  width: min(1200px, 62vw);
  aspect-ratio: 3513 / 1431;

  overflow: hidden;
}

.hero-project-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;

  /* Horizontal fade */
  -webkit-mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      black 14%,
      black 86%,
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      transparent 0%,
      black 14%,
      black 86%,
      transparent 100%
    );

  -webkit-mask-composite: source-in;

  mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      black 14%,
      black 86%,
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      transparent 0%,
      black 14%,
      black 86%,
      transparent 100%
    );

  mask-composite: intersect;

}
.hero-project-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.hero-content { position: relative; z-index: 2; padding-block: clamp(88px, 15vh, 170px) 58px; }
.hero-meta { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.hero-rule { width: 70px; height: 1px; background: var(--paper); opacity: .6; }
.hero-sub { margin: 24px 0 34px; max-width: 640px; font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.55rem); line-height: 1.5; }

.text-link, .button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: .17em;
  font-size: .72rem;
}
.text-link::after { content: '→'; font-size: 1rem; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(5px); }
.button {
  border: 1px solid currentColor;
  padding: 15px 18px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.button:hover { background: var(--paper); color: var(--ink); }
.button-dark:hover { background: var(--ink); color: var(--paper); }

.section { padding: clamp(80px, 10vw, 150px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; gap: 28px; align-items: end; margin-bottom: 48px; }
.section-intro { max-width: 520px; color: #c7c3ba; line-height: 1.7; }

.feature-grid { display: grid; grid-template-columns: 1.45fr .8fr; gap: 18px; }
.feature-card, .mini-card { position: relative; overflow: hidden; background: var(--ink-2); min-height: 650px; }
.mini-card { min-height: 650px; }
.media-placeholder {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.06) 60%),
    radial-gradient(circle at 65% 32%, rgba(255,255,255,.09), transparent 18%),
    linear-gradient(130deg, #242424, #0c0c0c 52%, #161616);
}
.media-placeholder::after {
  content: attr(data-label);
  position: absolute;
  right: 18px; top: 18px;
  font-size: .58rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.card-copy { position: absolute; inset: auto 0 0 0; padding: 34px; z-index: 2; }
.card-copy h3 { margin: 6px 0 12px; font-size: clamp(2rem, 4vw, 4rem); line-height: .95; text-transform: uppercase; letter-spacing: -.035em; }
.card-copy p { max-width: 520px; color: #cdc9c1; line-height: 1.55; }

.editorial-band { background: var(--paper); color: var(--ink); }
.editorial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 9vw, 130px); align-items: center; }
.editorial-image { aspect-ratio: 4/5; position: relative; background: #d5d1c8; overflow: hidden; }
.editorial-image img { width: 80%; height: 80%; object-fit: contain; opacity: .74; filter: invert(1); position: absolute; inset: 10%; }
.editorial-copy p { color: #d6d3cc; line-height: 1.75; max-width: 600px; }
.editorial-band .eyebrow { color: #5f5b54; }

.video-feature { aspect-ratio: 16/9; position: relative; width: 100%; background: #0e0e0e; display: grid; place-items: center; border: 1px solid var(--line); }
.video-feature iframe { position: absolute; width:  100%; height: 100%; border 0; display: block;}
.video-feature .play { width: 82px; height: 82px; border: 1px solid #fff; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; padding-left: 5px; }
.video-caption { margin-top: 18px; display: flex; justify-content: space-between; gap: 18px; }

.page-hero { padding: clamp(90px, 12vw, 165px) 0 70px; border-bottom: 1px solid var(--line); }
.page-hero .lede { color: #d5d1c8; }
.article-shell { width: min(calc(100% - 48px), 1120px); margin-inline: auto; }
.article-hero { aspect-ratio: 16/8; position: relative; margin: 52px 0 72px; background: var(--ink-2); overflow: hidden; }
.article-hero img { width: 38%; height: 70%; object-fit: contain; opacity: .45; filter: brightness(2); position: absolute; inset: 15% 31%; }
.article-body { display: grid; grid-template-columns: 220px 1fr; gap: 72px; }
.article-aside { position: sticky; top: 240px; align-self: start; font-size: .72rem; line-height: 1.7; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.prose { font-family: var(--serif); font-size: 1.18rem; line-height: 1.8; color: #dedbd4; }
.prose h2 { font-family: var(--sans); text-transform: uppercase; letter-spacing: -.03em; font-size: clamp(2rem, 4vw, 3.8rem); line-height: .95; margin: 80px 0 24px; color: #fff; }
.prose h3 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .05em; font-size: 1rem; margin-top: 48px; }
.prose p { margin: 0 0 24px; }
.prose ul { padding-left: 1.2em; }
.prose code { font-family: monospace; font-size: .9em; }
.inline-media { margin: 60px 0; aspect-ratio: 16/10; position: relative; background: #151515; }

.interest-panel { margin-top: 90px; padding: clamp(34px, 6vw, 72px); border: 1px solid var(--line); background: #0e0e0e; }
.interest-panel h2 { margin: 8px 0 18px; font-size: clamp(2.4rem, 5vw, 5rem); line-height: .9; text-transform: uppercase; }
.interest-panel p { max-width: 650px; color: #c9c5bd; line-height: 1.7; }
.interest-form { max-width: 720px; margin-top: 36px; }
.form-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.input {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.35);
  background: transparent;
  color: #fff;
  outline: none;
}
.input:focus { border-color: #fff; }
.check-row { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; color: #bdb9b0; font-size: .82rem; line-height: 1.45; }
.form-note, .form-status { font-size: .75rem; color: var(--muted); line-height: 1.5; }
.form-status { min-height: 1.2em; margin-top: 14px; color: #f3f0e7; }
.turnstile-slot { margin: 18px 0; min-height: 1px; }

.install-grid { display: grid; grid-template-columns: 280px 1fr; gap: 72px; }
.install-nav { position: sticky; top: 120px; align-self: start; }
.install-nav a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; }
.install-step { padding: 44px 0 54px; border-top: 1px solid var(--line); }
.step-number { font-size: .7rem; color: var(--muted); letter-spacing: .2em; text-transform: uppercase; }
.install-step h2 { font-size: clamp(2rem, 4vw, 3.5rem); text-transform: uppercase; margin: 8px 0 18px; }
.install-step p, .install-step li { color: #d0ccc3; font-size: 1.2rem; line-height: 1.7; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.simple-card { border-top: 1px solid var(--line); padding-top: 20px; }
.simple-card .thumb { aspect-ratio: 4/3; background: #141414; margin-bottom: 24px; position: relative; }
.simple-card .thumb img { width: 100%;  height: 100%;  object-fit: cover;  display: block; }
.simple-card h3 { margin: 0 0 10px; font-size: 1.5rem; text-transform: uppercase; }
.simple-card p { color: var(--muted); line-height: 1.55; }

.footer { border-top: 1px solid var(--line); padding: 60px 0 34px; }
.footer-top { display: flex; justify-content: space-between; gap: 28px; align-items: end; }
.footer-logo { width: 150px; opacity: .72; filter: brightness(1.8); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; }
.footer-bottom { margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line); color: #77736c; font-size: .7rem; display: flex; justify-content: space-between; gap: 20px; }

.install-video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
}

.install-video {
  min-width: 0;
}

.youtube-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.youtube-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 800px) {
  .install-video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .shell, .article-shell { width: min(calc(100% - 30px), var(--max)); }
  .nav { display: none; position: absolute; top: 88px; left: 0; right: 0; background: #080808; border-bottom: 1px solid var(--line); padding: 24px 15px; flex-direction: column; align-items: flex-start; }
  .nav.open { display: flex; }
  .menu-button { display: inline-block; }
  .feature-grid, .editorial-grid, .article-body, .install-grid { grid-template-columns: 1fr; }
  .feature-card, .mini-card { min-height: 520px; }
  .cards-3 { grid-template-columns: 1fr; }
  .article-aside, .install-nav { position: static; }
  .hero-logo { width: 90vw; left: 60%; opacity: .35; }
}

@media (max-width: 600px) {
  
  .hero{ min-height: auto; display: flex; flex-direction: column; align-items: stretch; }
  .hero-logo { position: relative; order: 1; top: auto; left: auto; transform: none; width: min(72vw, 320px); opacity: .55; margin: 20px auto 0; }
  .hero-content { position: relative; order: 2; width: min(calc(100% - 30px), var(--max)); margin-inline: auto; padding: 30px 0 28px; text-align: center; }
  .hero-meta {justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero .display { font-size: clamp(3rem, 14vw, 4.8rem); text-align: center; }
  .hero-project-image { position: relative; order: 3; right: auto; bottom: auto; width: min(100%, 560px); aspect-ratio: 3513 / 1431; margin: 0 auto 36px; }
  .hero-project-image img { width: 100%; height: 100%; object-fit: contain; }
  .hero::before { background: radial-gradient(circle at 50% 12%, rgba(255,255,255,.12), transparent 18%), linear-gradient(105deg, #050505 10%, #101010 48%, #040404 100%); }
  .header-inner { min-height: 76px; }
  .form-row { grid-template-columns: 1fr; }
  .section-head, .footer-top, .footer-bottom, .video-caption { flex-direction: column; align-items: flex-start; }
  .display { font-size: clamp(3rem, 17vw, 5.6rem); }
}

/* SMIC project photography and editorial modules */
.article-hero.photo-hero {
  aspect-ratio: 16 / 9;
  margin-bottom: 86px;
  border: 1px solid var(--line);
}
.article-hero.photo-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: none;
}
.article-hero.photo-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.62), transparent 42%);
  pointer-events: none;
}
.article-hero.photo-hero figcaption,
.story-image figcaption {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 2;
  padding: 7px 9px;
  background: rgba(8,8,8,.72);
  color: #dedbd4;
  font-family: var(--sans);
  font-size: .6rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.smic-aside { display: grid; gap: 0; }
.smic-aside > .eyebrow { margin-bottom: 10px; }
.smic-aside a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  transition: color .2s ease, padding-left .2s ease;
}
.smic-aside a:hover { color: #fff; padding-left: 5px; }
.story-section { scroll-margin-top: 120px; }
.story-section + .story-section { margin-top: 100px; padding-top: 90px; border-top: 1px solid var(--line); }
.story-section > .eyebrow { font-family: var(--sans); }
.story-image {
  position: relative;
  margin: 52px 0 0;
  background: #121212;
  overflow: hidden;
  border: 1px solid var(--line);
}
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.story-image-wide { aspect-ratio: 16 / 10; }
.story-image-portrait { max-width: 760px; aspect-ratio: 1 / 1; }
.story-image-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; margin-top: 16px; }
.story-image-grid .story-image { margin: 0; aspect-ratio: 4 / 3; }
.story-image-grid .story-image:last-child img { object-fit: contain; background: #0b0b0b; }

.youtube-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 42px;
}
.youtube-card { font-family: var(--sans); }
.youtube-placeholder {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #1b1b1b, #090909);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: var(--muted);
  font-size: .65rem;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.youtube-placeholder .play {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 50%;
  color: #fff;
  padding-left: 3px;
  font-size: 1rem;
}
.youtube-card h3 { margin: 18px 0 8px; font-size: 1rem; }
.youtube-card p { font-family: var(--sans); font-size: .82rem; line-height: 1.55; color: var(--muted); }
.youtube-card iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }

.faq-intro { max-width: 740px; }
.faq-list { margin-top: 40px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 25px 48px 25px 0;
  position: relative;
  font-family: var(--sans);
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: .02em;
  color: #fff;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--muted);
}
.faq-item[open] summary::after { content: '−'; }
.faq-answer { padding: 0 48px 22px 0; color: #c9c5bd; }
.faq-answer p { margin: 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-grid-full { grid-column: 1 / -1; }
.field-label { display: grid; gap: 8px; }
.field-label > span {
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #d2cec6;
}
.field-label em { font-style: normal; color: var(--muted); }
.interest-form > .button { margin-top: 4px; }

/* Homepage project photography */
.feature-card .card-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-card .card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.9), rgba(0,0,0,.08) 68%);
}

/* Homepage social links */
.social-section { background: #0d0d0d; }
.social-links { border-top: 1px solid var(--line); }
.social-link {
  min-height: 112px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: padding .2s ease, background .2s ease;
}
.social-link:hover { padding-left: 12px; background: rgba(255,255,255,.025); }
.social-link > span { font-size: clamp(1.8rem, 4vw, 3.5rem); text-transform: uppercase; letter-spacing: -.035em; }
.social-link small { color: var(--muted); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; }
.social-link b { font-size: 1.4rem; font-weight: 400; }
.social-link.is-placeholder { cursor: default; }

@media (max-width: 900px) {
  .youtube-grid { grid-template-columns: 1fr; }
  .story-image-grid { grid-template-columns: 1fr; }
  .story-image-grid .story-image { aspect-ratio: 16 / 10; }
}

@media (max-width: 600px) {
  .article-hero.photo-hero { aspect-ratio: 4 / 3; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid-full { grid-column: auto; }
  .social-link { grid-template-columns: 1fr auto; gap: 12px; min-height: 92px; }
  .social-link small { grid-column: 1 / -1; grid-row: 2; padding-bottom: 18px; }
  .story-section + .story-section { margin-top: 68px; padding-top: 64px; }
}
/* PROJECT PAGE CARDS */

.projects-section .feature-card,
.projects-section .mini-card {
  min-height: 0;
  display: block;
  background: transparent;}

/* First project image */
.projects-section .media-placeholder {
  position: relative;
  inset: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

/* Both project images */
.projects-section .media-placeholder img,
.projects-section .mini-card > img {
  width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
}

/* Move all text BELOW the image */
.projects-section .card-copy {
  position: static;
  padding: 50px 34px 34px;
}

/* Slightly tame the title size if desired */
.projects-section .card-copy h3 {
  margin-top: 8px;
}
@media (max-width: 600px) {

  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: row;
  }

  .brand img {
    width: 48px;
    height: 36px;
    object-fit: contain;
  }

  .brand-copy {
    display: inline-block;
    font-size: .7rem;
    letter-spacing: .08em;
    white-space: nowrap;
  }

}