/* Craig Becker — coming soon
   Forest black + brushed gold, with fine black rule work. */

:root{
  --ink:      #07110C;
  --forest:   #0E241A;
  --gold:     #C9A961;
  --gold-lit: #E3C98C;
  --bone:     #F2EDE3;
  --sage:     #7E9B87;
  --black:    #000000;

  --display: "Bodoni Moda", Didot, Georgia, serif;
  --text: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --rule-gold: 1px solid rgba(201,169,97,.26);
  --rule-black: 1px solid rgba(0,0,0,.55);
}

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

html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body{
  margin:0;
  background:var(--ink);
  color:var(--bone);
  font-family:var(--text);
  font-size:clamp(1rem,.95rem + .2vw,1.0625rem);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ display:block; max-width:100%; height:auto; }
a{ color:inherit; }

:focus-visible{ outline:2px solid var(--gold-lit); outline-offset:3px; border-radius:2px; }

.skip{
  position:absolute; left:-9999px; top:0; z-index:60;
  background:var(--gold); color:var(--ink);
  padding:.75rem 1rem; font-weight:600; text-decoration:none;
}
.skip:focus{ left:1rem; top:1rem; }

.grain{
  position:fixed; inset:-50%; z-index:50; pointer-events:none; opacity:.13;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode:overlay;
}

/* ── Corner ticks — reusable fine detail ──────────────── */
.tick{
  position:absolute; width:14px; height:14px; pointer-events:none;
  border-color:var(--gold); border-style:solid; border-width:0;
  opacity:.8;
}
.tick--tl{ top:6px; left:6px; border-top-width:1px; border-left-width:1px; }
.tick--tr{ top:6px; right:6px; border-top-width:1px; border-right-width:1px; }
.tick--bl{ bottom:6px; left:6px; border-bottom-width:1px; border-left-width:1px; }
.tick--br{ bottom:6px; right:6px; border-bottom-width:1px; border-right-width:1px; }

/* ── Masthead ─────────────────────────────────────────── */
.masthead{
  position:relative; z-index:30;
  display:flex; align-items:baseline; justify-content:space-between; gap:1rem;
  padding:clamp(1rem,2.2vw,1.6rem) var(--gutter);
  border-bottom:var(--rule-black);
  box-shadow:0 1px 0 rgba(201,169,97,.22);
}
.wordmark{
  font-family:var(--display);
  font-size:clamp(1.1rem,1.6vw,1.4rem);
  letter-spacing:.02em; color:var(--gold-lit); text-decoration:none;
}
.masthead nav{ display:flex; gap:clamp(1rem,2.4vw,2.25rem); }
.masthead nav a{
  font-size:.8125rem; letter-spacing:.05em; text-decoration:none;
  color:rgba(242,237,227,.78);
  padding-bottom:.2rem; border-bottom:1px solid transparent;
  transition:color .25s ease, border-color .25s ease;
}
.masthead nav a:hover{ color:var(--bone); border-bottom-color:var(--gold); }

/* ── Hero ─────────────────────────────────────────────── */
.hero{
  position:relative; isolation:isolate; overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.85fr);
  gap:clamp(2rem,5vw,5rem);
  align-items:center;
  padding:clamp(3rem,7vh,6rem) var(--gutter) clamp(3.5rem,8vh,6rem);
  background:
    radial-gradient(115% 85% at 10% 15%, #12291D 0%, transparent 62%),
    linear-gradient(168deg, var(--forest) 0%, var(--ink) 60%, #050C08 100%);
}
.hero__glow{
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background:radial-gradient(440px circle at var(--mx,62%) var(--my,38%),
             rgba(201,169,97,.15), transparent 70%);
}
/* fine black rule work drawn over the field */
.hero__rules{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background-image:
    linear-gradient(to right, rgba(0,0,0,.5) 1px, transparent 1px),
    linear-gradient(to right, rgba(201,169,97,.13) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,.45) 1px, transparent 1px);
  background-size:100% 100%, 100% 100%, 100% 100%;
  background-position:
    calc(var(--gutter) * .42) 0,
    calc(var(--gutter) * .42 + 3px) 0,
    0 calc(100% - 2.25rem);
  background-repeat:no-repeat;
}

.hero__type{ position:relative; z-index:2; min-width:0; }

.status{
  display:inline-flex; align-items:center; gap:.6rem;
  margin:0 0 1.4rem; font-size:.8125rem; letter-spacing:.07em; color:var(--sage);
}
.status__dot{
  width:6px; height:6px; border-radius:50%; background:var(--gold);
  animation:pulse 3.4s ease-out infinite;
}
@keyframes pulse{
  0%{ box-shadow:0 0 0 0 rgba(201,169,97,.5); }
  70%,100%{ box-shadow:0 0 0 9px rgba(201,169,97,0); }
}

.display{
  font-family:var(--display); font-weight:400;
  font-size:clamp(3.25rem, 8.6vw, 7.5rem);
  line-height:.88; letter-spacing:-.02em;
  margin:0 0 1.5rem; color:var(--bone);
  overflow-wrap:break-word;
}
.display__line{
  display:block; padding:.06em 0;
  clip-path:inset(0 0 110% 0);
  animation:rise 1s cubic-bezier(.16,.84,.32,1) forwards;
  animation-delay:calc(var(--i) * 130ms + 100ms);
}
.display__line:last-child{ color:var(--gold-lit); font-style:italic; padding-left:.06em; }
@keyframes rise{ to{ clip-path:inset(-30% -20% -30% -8%); } }

.lede{
  margin:0 0 2rem; max-width:44ch;
  color:rgba(242,237,227,.78); text-wrap:pretty;
  padding-left:1.1rem;
  border-left:var(--rule-black);
  box-shadow:inset 3px 0 0 -2px rgba(201,169,97,.35);
}

.cta{
  display:inline-block; padding:.9rem 1.9rem;
  font-size:.9375rem; font-weight:500; letter-spacing:.03em;
  text-decoration:none; color:var(--ink);
  background:linear-gradient(180deg, var(--gold-lit), var(--gold));
  border:1px solid var(--black); border-radius:999px;
  transition:transform .25s ease, box-shadow .25s ease;
}
.cta:hover{ transform:translateY(-2px); box-shadow:0 12px 30px -14px rgba(201,169,97,.75); }

.cv-links{
  display:flex; flex-wrap:wrap; gap:.65rem;
  margin:1rem 0 0;
}
.cv{
  display:inline-block;
  padding:.72rem 1.4rem;
  font-size:.875rem; letter-spacing:.03em;
  text-decoration:none; color:rgba(242,237,227,.86);
  background:rgba(0,0,0,.4);
  border:1px solid var(--black);
  box-shadow:inset 0 0 0 1px rgba(201,169,97,.28);
  border-radius:999px;
  transition:color .25s ease, box-shadow .25s ease, background .25s ease;
}
.cv:hover, .cv:focus-visible{
  color:var(--gold-lit);
  background:rgba(0,0,0,.62);
  box-shadow:inset 0 0 0 1px rgba(201,169,97,.6);
}

/* ── Rotator ──────────────────────────────────────────── */
.hero__frame{ position:relative; z-index:2; display:flex; justify-content:center; }
.rotator{ width:min(100%, 32rem); }

.rotator__mat{
  position:relative;
  aspect-ratio:4/5;
  padding:10px;
  background:var(--black);
  border:1px solid rgba(201,169,97,.32);
  box-shadow:0 26px 60px -30px rgba(0,0,0,.9);
}
.rotator__mat::before{
  content:""; position:absolute; inset:4px;
  border:1px solid rgba(201,169,97,.2); pointer-events:none; z-index:3;
}
.rotator__track{
  position:relative; list-style:none; margin:0; padding:0;
  width:100%; height:100%; overflow:hidden;
}
.slide{
  position:absolute; inset:0;
  opacity:0; visibility:hidden;
  transition:opacity .9s ease, visibility 0s linear .9s;
}
.slide.is-active{ opacity:1; visibility:visible; transition:opacity .9s ease, visibility 0s; }
.slide img{ width:100%; height:100%; object-fit:cover; filter:contrast(1.04) saturate(.9); }

.rotator__dots{
  display:flex; gap:.55rem; justify-content:center;
  margin-top:1rem;
}
.rotator__dots button{
  width:26px; height:2px; padding:0; cursor:pointer;
  border:0; background:rgba(0,0,0,.75);
  box-shadow:0 1px 0 rgba(201,169,97,.28);
  transition:background .3s ease, box-shadow .3s ease;
}
.rotator__dots button[aria-selected="true"]{
  background:var(--gold); box-shadow:none;
}

@media (prefers-reduced-motion: reduce){
  .display__line{ animation:none; clip-path:none; }
  .status__dot{ animation:none; }
  .cta:hover{ transform:none; }
  .slide{ transition:none; }
}

/* ── Hairline band between sections ───────────────────── */
.hairline-band{
  height:26px;
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,.85) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(201,169,97,.18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,.6) 1px, transparent 1px);
  background-position:0 0, 0 3px, 0 8px;
  background-repeat:repeat-x;
  background-color:var(--ink);
}

/* ── Archived works ───────────────────────────────────── */
.works{ padding:clamp(4rem,9vh,7rem) var(--gutter); background:var(--ink); }

.section-title{
  font-family:var(--display); font-weight:400; font-style:italic;
  font-size:clamp(1.4rem,3vw,2.1rem);
  margin:0 0 clamp(2rem,5vh,3.25rem); color:var(--gold-lit);
}

.work-list{
  list-style:none; margin:0; padding:0;
  border-top:var(--rule-black);
  box-shadow:0 -1px 0 rgba(201,169,97,.16);
}
.work{ border-bottom:var(--rule-black); box-shadow:0 1px 0 rgba(201,169,97,.14); }
.work a{
  display:grid;
  grid-template-columns:minmax(9rem,20%) 1fr;
  gap:clamp(1rem,4vw,3rem);
  align-items:baseline;
  padding:clamp(1.25rem,3vh,2rem) 0;
  text-decoration:none;
  transition:padding-left .3s ease, background .3s ease;
}
.work a:hover, .work a:focus-visible{
  padding-left:1rem;
  background:linear-gradient(to right, rgba(0,0,0,.5), transparent 55%);
}
.work h3{
  font-family:var(--display); font-weight:400;
  font-size:clamp(1.5rem,3.4vw,2.4rem); line-height:1.05;
  margin:0; color:var(--bone);
}
.work p{ margin:0; max-width:56ch; color:rgba(242,237,227,.66); }

/* ── Contact ──────────────────────────────────────────── */
.contact{
  padding:clamp(3.5rem,8vh,6.5rem) var(--gutter);
  border-top:var(--rule-black);
  background-color:var(--forest);
  background-image:
    radial-gradient(90% 130% at 50% 0%, rgba(18,41,29,.9) 0%, transparent 70%),
    repeating-linear-gradient(to right, rgba(0,0,0,.28) 0 1px, transparent 1px 84px);
}
.contact__inner{ max-width:46rem; }
.contact h2{
  font-family:var(--display); font-weight:400;
  font-size:clamp(1.6rem,4vw,2.75rem); line-height:1.08;
  margin:0 0 .7rem;
}
.contact__sub{ margin:0 0 2rem; color:rgba(242,237,227,.68); max-width:44ch; }

.enquiry__grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(14rem,1fr)); gap:1rem; }
.field{ margin:0 0 1rem; }
.field label{
  display:block; margin-bottom:.4rem;
  font-size:.8125rem; letter-spacing:.05em; color:var(--sage);
}
.field--hidden{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

.enquiry input, .enquiry textarea{
  width:100%; padding:.85rem 1rem;
  font:inherit; font-size:1rem; color:var(--bone);
  background:rgba(0,0,0,.42);
  border:1px solid var(--black);
  box-shadow:inset 0 0 0 1px rgba(201,169,97,.18);
  border-radius:2px; resize:vertical;
  transition:box-shadow .25s ease, background .25s ease;
}
.enquiry input::placeholder, .enquiry textarea::placeholder{ color:rgba(242,237,227,.35); }
.enquiry input:focus, .enquiry textarea:focus{
  background:rgba(0,0,0,.6);
  box-shadow:inset 0 0 0 1px rgba(201,169,97,.55);
}

.enquiry__foot{ display:flex; flex-wrap:wrap; align-items:center; gap:1rem 1.5rem; margin-top:.5rem; }
.enquiry button{
  padding:.9rem 1.9rem; font:inherit; font-size:.9375rem; font-weight:500;
  color:var(--ink); background:linear-gradient(180deg, var(--gold-lit), var(--gold));
  border:1px solid var(--black); border-radius:999px; cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease;
}
.enquiry button:hover{ transform:translateY(-2px); box-shadow:0 12px 26px -16px rgba(201,169,97,.85); }
.enquiry button:disabled{ opacity:.55; cursor:progress; transform:none; box-shadow:none; }
.enquiry__alt{ font-size:.875rem; color:rgba(242,237,227,.6); text-decoration:none; border-bottom:1px solid rgba(201,169,97,.4); padding-bottom:.1rem; }
.enquiry__alt:hover{ color:var(--gold-lit); }
.enquiry__msg{ min-height:1.4rem; margin:1rem 0 0; font-size:.875rem; color:var(--sage); }
.enquiry__msg[data-state="error"]{ color:#E9A98A; }
.enquiry__msg[data-state="done"]{ color:var(--gold-lit); }

@media (prefers-reduced-motion: reduce){ .enquiry button:hover{ transform:none; } }

/* ── Coming soon page ─────────────────────────────────── */
.soon{
  display:grid; place-items:center;
  min-height:calc(100svh - 15rem);
  padding:clamp(3rem,10vh,7rem) var(--gutter);
  background:
    radial-gradient(110% 80% at 50% 20%, #12291D 0%, transparent 65%),
    linear-gradient(170deg, var(--forest), var(--ink) 65%);
}
.soon__inner{
  position:relative; max-width:34rem; text-align:center;
  padding:clamp(2rem,5vw,3.25rem);
  border:1px solid rgba(0,0,0,.7);
  box-shadow:inset 0 0 0 1px rgba(201,169,97,.18);
  background:rgba(0,0,0,.22);
}
.soon .status{ justify-content:center; }
.soon__title{
  font-family:var(--display); font-weight:400; font-style:italic;
  font-size:clamp(2.4rem,7vw,4.25rem); line-height:1;
  margin:0 0 1rem; color:var(--gold-lit);
}
.soon__body{ margin:0 0 2rem; color:rgba(242,237,227,.72); }
.soon__actions{ display:flex; flex-wrap:wrap; gap:1rem 1.5rem; justify-content:center; align-items:center; }
.soon__alt{ font-size:.875rem; color:rgba(242,237,227,.62); text-decoration:none; border-bottom:1px solid rgba(201,169,97,.4); padding-bottom:.1rem; }
.soon__alt:hover{ color:var(--gold-lit); }

/* ── Footer ───────────────────────────────────────────── */
.foot{
  padding:clamp(2.75rem,6vh,4.5rem) var(--gutter) 2.25rem;
  background:var(--ink);
  border-top:var(--rule-black);
  box-shadow:0 -1px 0 rgba(201,169,97,.16) inset;
}
.tagline{
  font-family:var(--display); font-style:italic; font-weight:400;
  font-size:clamp(1.5rem,5vw,3.1rem); line-height:1;
  margin:0 0 clamp(1.75rem,4vh,2.75rem); color:var(--gold);
}
.foot__meta{
  display:flex; flex-wrap:wrap; gap:1rem 2rem;
  justify-content:space-between; align-items:center;
  padding-top:1.25rem;
  border-top:var(--rule-black);
  box-shadow:0 -1px 0 rgba(201,169,97,.14) inset;
  font-size:.875rem; color:rgba(242,237,227,.55);
}
.social{ display:flex; flex-wrap:wrap; gap:1.25rem; list-style:none; margin:0; padding:0; }
.social a{
  text-decoration:none; padding-bottom:.15rem;
  border-bottom:1px solid rgba(201,169,97,.4);
  transition:color .25s ease, border-color .25s ease;
}
.social a:hover{ color:var(--gold-lit); border-bottom-color:var(--gold-lit); }
.copy{ margin:0; }

/* ── Narrow screens ───────────────────────────────────── */
@media (max-width: 900px){
  .hero{ grid-template-columns:1fr; gap:2.5rem; }
  .hero__frame{ order:2; }
  .rotator{ width:min(100%,24rem); }
  .display{ font-size:clamp(3rem,15vw,5.5rem); }
  .work a{ grid-template-columns:1fr; gap:.4rem; }
}

@media (max-width: 520px){
  .masthead nav a:first-child{ display:none; }
  .enquiry button{ width:100%; }
  .cv{ flex:1 1 auto; text-align:center; }
  .enquiry__foot{ gap:.85rem; }
}
