/* Blackthorne Studios — site styles
   Colours and fonts live in :root so they're easy to change in one place. */

:root {
  --black: #000000;
  --white: #ffffff;
  --panel: #f4f4f2;        /* light grey section background */
  --placeholder: #ededea;  /* empty image boxes */
  --tile: #1c1c1c;         /* dark service tiles */
  --line: #d9d9d5;
  --text-2: #3d3d38;       /* secondary text */
  --text-3: #5a5a55;       /* captions */
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --gutter: clamp(20px, 7.8vw, 112px);
  --frame: clamp(12px, 2.2vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; }
a:hover { opacity: 0.7; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }
h1, h2, h3, p, figure, blockquote { margin: 0; }

/* Shared type */
.label { font-size: 13px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; }
.h2 { font-size: clamp(32px, 3.5vw, 50px); line-height: 1.12; font-weight: 300; letter-spacing: -0.01em; }
.ul { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.18em; }
.em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.12em; }
.body { font-size: 18px; line-height: 1.7; color: var(--text-2); }
.link {
  display: inline-block; align-self: flex-start;
  font-size: 13px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 6px;
}
.btn {
  display: inline-block; text-decoration: none; background: var(--black); color: var(--white);
  padding: 14px 22px; font-size: 13px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
}
.placeholder {
  background: var(--placeholder); color: var(--text-3); font-size: 14px;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px;
}
.cover { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero ---------- */
.hero { padding: var(--frame); }
.hero__frame {
  position: relative; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; padding-top: 88px;
}
.nav {
  position: absolute; inset: 0 0 auto 0; height: 88px; padding: 0 clamp(20px, 3.4vw, 48px);
  display: flex; align-items: center; justify-content: space-between; z-index: 5;
}
.nav__group { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 36px); font-size: 13px; font-weight: 500; letter-spacing: 0.2em; }
.nav__group a:not(.btn) { text-decoration: none; }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; font: inherit; font-size: 13px; font-weight: 500; letter-spacing: 0.2em; }
.hero__mark { margin: 0; line-height: 0; }
.hero__logo { width: min(440px, 82vw); height: auto; }
.scroll {
  position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-decoration: none; font-size: 11px; letter-spacing: 0.4em; font-weight: 500;
}
.scroll span { display: block; width: 1px; height: 44px; background: var(--black); }

/* ---------- We ---------- */
.we {
  padding: 110px var(--gutter);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
}
.we__word { grid-column: 1 / span 4; font-family: var(--serif); font-size: clamp(120px, 18vw, 260px); line-height: 0.8; font-weight: 400; }
.we__text { grid-column: 5 / span 8; display: flex; flex-direction: column; gap: 40px; padding-top: 18px; }
.we__lede { max-width: 620px; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 1.9vw, 27px); line-height: 1.4; color: var(--text-2); }

/* ---------- Services ---------- */
.services { padding: 0 var(--frame) 120px; display: flex; flex-direction: column; gap: 64px; }
.services__head { padding: 0 calc(var(--gutter) - var(--frame)); display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.services__head > div { display: flex; flex-direction: column; gap: 22px; }
.services__head .body { max-width: 420px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative; height: 340px; text-decoration: none; color: var(--black); background: var(--white);
  border: 1px solid var(--black);
  display: flex; flex-direction: column; justify-content: flex-start; gap: 14px; padding: 120px 32px 36px;
  transition: background-color 0.35s ease, color 0.35s ease;
}
.tile:hover, .tile:focus-visible { opacity: 1; background: var(--black); color: var(--white); }
.tile__num { position: absolute; top: 28px; left: 32px; font-size: 13px; font-weight: 500; letter-spacing: 0.28em; }
.tile__name { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 46px; line-height: 1; }
.tile__line { font-size: 16px; line-height: 1.5; color: var(--text-2); transition: color 0.35s ease; }
.tile:hover .tile__line, .tile:focus-visible .tile__line { color: #d6d6d2; }
.tile .link { margin-top: auto; }

/* ---------- Full-service band ---------- */
.band {
  padding: 120px var(--gutter); background: var(--panel);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center;
}
.band__media { grid-column: 1 / span 6; height: 560px; }
.band__media.placeholder { background: #e3e3df; }
.band__text { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 30px; }
.band__line { font-family: var(--serif); font-style: italic; font-size: 25px; line-height: 1.35; }

/* ---------- Work ---------- */
.work { padding: 120px var(--gutter); display: flex; flex-direction: column; gap: 56px; }
.work__head { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.work__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; }
.project { display: flex; flex-direction: column; gap: 14px; }
.span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; } .span-8 { grid-column: span 8; }
.project__media { position: relative; height: 460px; overflow: hidden; background: var(--placeholder); }
.project--short .project__media { height: 340px; }
.project--third .project__media { height: auto; aspect-ratio: 16 / 9; }
.project__media .cover { transition: transform 0.8s ease; }
.project:hover .project__media .cover { transform: scale(1.03); }
.project__media .cover.letterboxed { transform: scale(1.34); }
.project:hover .project__media .cover.letterboxed { transform: scale(1.38); }
.project__caption { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--text-2); }
.project[data-video] .project__media, .project[data-file] .project__media { cursor: pointer; }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 50%; border: 1.5px solid var(--white); background: rgba(0,0,0,0.35);
  display: flex; align-items: center; justify-content: center; pointer-events: none;
}
.play::before { content: ""; margin-left: 5px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--white); }

/* ---------- Testimonial ---------- */
.quote {
  margin: 0 var(--gutter); padding: 110px clamp(0px, 10vw, 200px); border-top: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; gap: 30px; text-align: center;
}
.quote blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.3; }
.quote__who { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.quote__name { font-size: 14px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; }
.quote__role { font-size: 15px; color: var(--text-3); }

/* ---------- Contact band ---------- */
.contact {
  margin: 0 var(--frame); padding: 110px 24px; background: var(--black); color: var(--white);
  display: flex; flex-direction: column; align-items: center; gap: 34px; text-align: center;
}
.contact .h2 { font-size: clamp(34px, 4.2vw, 60px); }
.contact__actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; justify-content: center; }
.contact .btn { background: var(--white); color: var(--black); padding: 18px 30px; font-weight: 600; letter-spacing: 0.24em; }
.contact__email { font-size: 17px; }

/* ---------- Footer ---------- */
.footer { padding: 80px var(--gutter) 40px; display: flex; flex-direction: column; gap: 56px; }
.footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: start; }
.footer__icon { grid-column: 1 / span 2; width: 72px; height: auto; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.6; }
.footer__col--a { grid-column: 4 / span 3; } .footer__col--b { grid-column: 7 / span 3; } .footer__col--c { grid-column: 10 / span 3; }
.footer__caps { font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.footer__col a { text-decoration: none; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 22px; font-size: 13px; color: var(--text-3); }

/* ---------- Video lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,0.92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox__inner { width: min(1200px, 100%); aspect-ratio: 16 / 9; }
.lightbox iframe, .lightbox video { width: 100%; height: 100%; border: 0; background: #000; }
.lightbox__inner.is-portrait { width: auto; height: min(88vh, 900px); aspect-ratio: 9 / 16; max-width: 100%; }
.lightbox__close { position: absolute; top: 20px; right: 24px; background: none; border: 0; color: var(--white); font: inherit; font-size: 13px; letter-spacing: 0.28em; cursor: pointer; }

/* ---------- Gentle reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tile { transition: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { height: 300px; }
  .band__media { grid-column: 1 / -1; height: 420px; margin-bottom: 48px; }
  .band__text { grid-column: 1 / -1; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  .nav__social { display: none; }
  .nav { justify-content: flex-end; height: 72px; }
  .nav__toggle { display: block; }
  .nav__main {
    display: none; position: fixed; inset: 0; background: var(--white); z-index: 40;
    flex-direction: column; justify-content: center; gap: 32px; font-size: 16px;
  }
  .nav__main.is-open { display: flex; }
  .nav__close { position: absolute; top: 24px; right: 24px; }
  .hero__frame { padding-top: 72px; }

  .we { padding: 80px var(--gutter); }
  .we__word, .we__text { grid-column: 1 / -1; }
  .we__text { padding-top: 24px; gap: 28px; }

  .services { padding-bottom: 80px; gap: 40px; }
  .services__head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { height: 260px; padding: 96px 28px 28px; }
  .tile__num { top: 24px; left: 28px; }

  .band { padding: 80px var(--gutter); }
  .band__media { height: 300px; }

  .work { padding: 80px var(--gutter); gap: 40px; }
  .span-4, .span-6, .span-8 { grid-column: 1 / -1; }
  .project__media, .project--short .project__media, .project--third .project__media { height: 240px; aspect-ratio: auto; }
  .project[data-portrait] .project__media { height: 520px; }

  .quote { padding: 80px 0; }
  .contact { padding: 80px 24px; }

  .footer__icon, .footer__col--a, .footer__col--b, .footer__col--c { grid-column: 1 / -1; }
  .footer__base { flex-direction: column; }
}
@media (min-width: 761px) { .nav__close { display: none; } }

/* Visually hidden text for screen readers */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Packages ---------- */
.packages { padding: 0 var(--frame) 120px; display: flex; flex-direction: column; gap: 56px; }
.packages__head { padding: 0 calc(var(--gutter) - var(--frame)); display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.packages__head > div { display: flex; flex-direction: column; gap: 22px; }
.packages__head .body { max-width: 420px; }
.pkgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pkg { border: 1px solid var(--black); background: var(--white); padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.pkg__num { font-size: 13px; font-weight: 500; letter-spacing: 0.28em; }
.pkg__top { display: flex; flex-direction: column; gap: 8px; }
.pkg__name { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 38px; line-height: 1.05; }
.pkg__who { font-size: 15px; line-height: 1.5; color: var(--text-2); }
.pkg__list { margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.45; }
.pkg__list li { border-top: 1px solid var(--line); padding: 10px 0; }
.pkg__list li:last-child { border-bottom: 1px solid var(--line); }
.pkg__foot { margin-top: auto; display: flex; flex-direction: column; gap: 18px; }
.pkg__price { display: flex; align-items: baseline; gap: 8px; font-size: 36px; font-weight: 400; }
.pkg__price span { font-size: 13px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); }
.pkg__note { font-size: 14px; line-height: 1.55; color: var(--text-2); }
.pkg__note span { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.pkg { transition: background-color 0.35s ease, color 0.35s ease; }
.pkg .pkg__who, .pkg .pkg__note, .pkg .pkg__note span, .pkg .pkg__price span { transition: color 0.35s ease; }
.pkg .pkg__list li { transition: border-color 0.35s ease; }
.pkg:hover, .pkg:focus-within { background: var(--black); color: var(--white); }
.pkg:hover .pkg__who, .pkg:hover .pkg__note, .pkg:focus-within .pkg__who, .pkg:focus-within .pkg__note { color: #d6d6d2; }
.pkg:hover .pkg__note span, .pkg:hover .pkg__price span, .pkg:focus-within .pkg__note span, .pkg:focus-within .pkg__price span { color: #c9c9c3; }
.pkg:hover .pkg__list li, .pkg:focus-within .pkg__list li { border-color: #4a4a46; }
.pkg:hover a, .pkg:focus-within a { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .pkg, .pkg * { transition: none; } }
.addons { margin: 0 calc(var(--gutter) - var(--frame)); border-top: 1px solid var(--black); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px 40px; }
.addons__list { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 15px; color: var(--text-2); }
.services { padding-top: 120px; }
@media (max-width: 1100px) { .pkgs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .packages { padding-bottom: 80px; gap: 40px; }
  .packages__head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .pkgs { grid-template-columns: 1fr; }
  .services { padding-top: 80px; }
}


/* ---------- Packages: six on one line ---------- */
.pkgs { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.pkg { padding: 22px 20px; gap: 14px; }
.pkg__num { font-size: 11px; }
.pkg__name { font-size: 27px; }
.pkg__who { font-size: 13px; line-height: 1.45; }
.pkg__list { font-size: 13px; line-height: 1.4; }
.pkg__list li { padding: 7px 0; }
.pkg__note { font-size: 12.5px; line-height: 1.45; }
.pkg__note span { font-size: 10.5px; }
.pkg__price { font-size: 28px; }
.pkg__price span { font-size: 11px; }
.pkg .link { font-size: 11px; letter-spacing: 0.22em; }
@media (max-width: 1300px) { .pkgs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .pkgs { grid-template-columns: 1fr; } }


/* ---------- Packages: name list on the left, details on the right ---------- */
.pk { position: relative; list-style: none; margin: 0 calc(var(--gutter) - var(--frame)); padding: 0; width: calc((100% - 2 * (var(--gutter) - var(--frame))) * 5 / 12); min-height: 600px; border-top: 1px solid var(--black); }
.pk__tab { width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 24px 0; background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; cursor: pointer; font: inherit; color: var(--black); }
.pk__n { font-size: 13px; font-weight: 500; letter-spacing: 0.28em; color: var(--text-3); }
.pk__name { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(26px, 2.3vw, 34px); line-height: 1.1; color: var(--text-3); transition: color 0.25s ease; }
.pk__from { font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.pk__tab:hover .pk__name, .pk__tab[aria-expanded="true"] .pk__name { color: var(--black); }
.pk__tab[aria-expanded="true"] .pk__n, .pk__tab[aria-expanded="true"] .pk__from { color: var(--black); }
.pk__tab[aria-expanded="true"] { border-bottom-color: var(--black); }
.pk__panel { display: none; position: absolute; top: 0; left: calc(100% + 64px); width: calc(140% - 64px); min-height: 100%; box-sizing: border-box; background: var(--black); color: var(--white); padding: clamp(32px, 3.4vw, 56px); flex-direction: column; gap: 22px; }
.pk__panel.is-active { display: flex; }
.pk__eyebrow, .pk__label { font-size: 12px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: #c9c9c3; }
.pk__title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(38px, 3.6vw, 56px); line-height: 1.02; }
.pk__pitch { font-size: 18px; line-height: 1.6; color: #d6d6d2; max-width: 520px; }
.pk__cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; margin-top: 8px; }
.pk__inc { margin: 12px 0 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.45; }
.pk__inc li { border-top: 1px solid #4a4a46; padding: 10px 0; }
.pk__inc li:last-child { border-bottom: 1px solid #4a4a46; }
.pk__note { font-size: 15px; line-height: 1.6; color: #d6d6d2; }
.pk__note span { display: block; margin-bottom: 12px; font-size: 12px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: #c9c9c3; }
.pk__foot { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; }
.pk__price { display: flex; align-items: baseline; gap: 10px; font-size: 44px; font-weight: 300; }
.pk__price span { font-size: 13px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: #c9c9c3; }
.pk__panel .link { color: var(--white); }
.pk__panel .link:hover { opacity: 0.7; }
@media (max-width: 900px) {
  .pk { width: auto; min-height: 0; }
  .pk__panel { position: static; width: auto; min-height: 0; margin: 0 0 16px; padding: 28px 24px; }
  .pk__cols { grid-template-columns: 1fr; gap: 20px; }
  .pk__price { font-size: 36px; }
}
