/* Strydeco — site styles (matches the Squarespace look: Roboto, warm off-white, signature yellow) */
:root {
  --bg: #f4f4f3;
  --white: #ffffff;
  --ink: #000000;
  --ink-soft: #383838;
  --muted: #5c5c5a;
  --accent: #fac404;
  --accent-ink: #000000;
  --line: #dcdcd8;
  --radius: 14px;
  --wrap: 1180px;
  --pad: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 8vw, 110px);
  --font: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(17px, 1.15vw + 0.6rem, 19.86px);
  line-height: 1.3;
  letter-spacing: -0.017em;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 400; margin: 0 0 0.5em; line-height: 1.04; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 4vw, 2.85rem); }
h2 { font-size: clamp(1.65rem, 2.6vw, 1.9rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.35rem); }
.display { font-size: clamp(2.1rem, 4vw, 2.85rem); }
p { margin: 0 0 1em; }
.lead { font-size: 1.08em; }
.small { font-size: 0.82rem; line-height: 1.6; color: var(--ink-soft); }
.center { text-align: center; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 820px; }
.section { padding: var(--section) 0; }
.section--white { background: var(--white); }
.section--tint { background: var(--bg); }
.page-head { padding-top: calc(var(--section) * 0.8); padding-bottom: calc(var(--section) * 0.6); }

/* ---------- header ---------- */
.site-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 50; }
.site-header__inner {
  max-width: none; margin: 0 auto; padding: 10px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand img { height: 56px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.site-nav a { text-decoration: none; font-size: 0.95rem; color: #fff; padding: 4px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current='page'] { border-bottom-color: #fff; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid currentColor; }
.social svg { width: 22px; height: 22px; fill: currentColor; }
.social--header a { color: #fff; border: 2px solid #fff; padding: 0; }
.social--header a:hover { background: #fff; }
.social--header a:hover svg { fill: #000; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 8px;
  }
  .nav-toggle span:not(.sr) { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 76px 0 0 0; background: var(--ink); flex-direction: column; justify-content: center;
    gap: 40px; transform: translateY(-110%); transition: transform .25s ease; visibility: hidden;
  }
  .site-nav.is-open { transform: none; visibility: visible; }
  .site-nav ul { flex-direction: column; align-items: center; gap: 22px; }
  .site-nav a { font-size: 1.6rem; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: 14px 34px; border-radius: 300px; border: 2px solid var(--accent);
  background: var(--accent); color: var(--accent-ink); text-decoration: none;
  font-weight: 500; font-size: 1.05rem; letter-spacing: 0.1em; text-transform: capitalize;
  cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-soft); border-color: var(--ink-soft); }
.btn--outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.5em; }
.btn-row--center { justify-content: center; }

.circle-btn {
  display: grid; place-items: center; text-align: center; margin: 1.2em auto 0;
  width: min(100%, 180px); aspect-ratio: 1; border-radius: 50%; padding: 22px;
  background: var(--accent); color: var(--accent-ink); text-decoration: none;
  font-weight: 500; font-size: 1.05rem; letter-spacing: 0.1em; line-height: 1.25;
  transition: transform .2s ease;
}
.circle-btn:hover { transform: scale(1.04); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: stretch; color: #fff; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.55) 100%); }
.hero__content {
  position: relative; width: 100%; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px;
  align-items: end; padding-top: clamp(40px, 8vw, 90px); padding-bottom: clamp(40px, 7vw, 80px);
}
.hero__left { align-self: stretch; display: flex; flex-direction: column; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 14ch; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.hero__tag { font-size: clamp(1.3rem, 2.2vw, 1.66rem); margin: 0.6em 0 0; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.hero__left .btn-row { margin-top: auto; padding-top: 2em; }
.hero__text { max-width: 30ch; justify-self: end; font-size: 1.05rem; line-height: 1.35; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
@media (max-width: 760px) {
  .hero__content { grid-template-columns: 1fr; }
  .hero__text { justify-self: start; max-width: none; }
  .hero__shade { background: rgba(0,0,0,.5); }
}

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: 2.5em; text-align: center; }
.service h3 { margin-top: 1em; }
.service p { font-size: 0.95rem; }
.service__img { aspect-ratio: 1; overflow: hidden; }
.service__img img { width: 100%; height: 100%; object-fit: cover; }
.blob--1 { border-radius: 42% 58% 55% 45% / 50% 40% 60% 50%; }
.blob--2 { border-radius: 50% 50% 46% 54% / 62% 62% 38% 38%; }
.blob--3 { border-radius: 8px 8px 50% 8px; }
.blob--4 { border-radius: 50%; }
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; } }

/* ---------- process ---------- */
.steps { list-style: none; padding: 0; margin: 2em 0 0; display: grid; gap: 22px; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps__n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); font-weight: 700; font-size: 1.2rem; }
.steps h3 { font-weight: 700; margin: 0.35em 0 0.3em; }
.steps p { margin: 0; color: var(--ink-soft); }

/* ---------- carousel ---------- */
.carousel { position: relative; margin-top: 2.5em; }
.carousel__track {
  list-style: none; margin: 0; padding: 0 0 12px; display: grid; grid-auto-flow: column;
  grid-auto-columns: min(85%, 520px); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { scroll-snap-align: start; }
.carousel__item figure { margin: 0; }
.carousel__item img { width: 100%; height: auto; background: var(--white); }
.carousel__item figcaption { margin-top: 0.9em; font-size: 1.05rem; }
.carousel__btn {
  position: absolute; top: calc(50% - 40px); z-index: 2; width: 52px; height: 52px; border-radius: 50%;
  border: 0; background: var(--ink); color: #fff; font-size: 1.5rem; cursor: pointer; display: grid; place-items: center;
}
.carousel__btn--prev { left: -8px; }
.carousel__btn--next { right: -8px; }
.carousel__btn:disabled { opacity: .3; cursor: default; }

/* ---------- lists ---------- */
.ticks { list-style: none; padding: 0; margin: 1.2em 0 0; display: grid; gap: 10px; text-align: left; }
.ticks li { position: relative; padding-left: 32px; font-weight: 500; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23000' stroke-width='2.2'/%3E%3C/svg%3E") center/14px no-repeat;
}
.ticks--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; max-width: 720px; margin-inline: auto; }
@media (max-width: 600px) { .ticks--grid { grid-template-columns: 1fr; max-width: 360px; } }
.subhead { font-size: 1.35rem; margin-bottom: 1em; }
.quote { font-size: 1.5rem; margin-top: 1.2em; }
.pills { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { background: var(--bg); border: 1px solid var(--line); border-radius: 300px; padding: 6px 14px; font-size: 0.9rem; }
.highlights { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 10px; }
.highlights li { font-size: 1.25rem; padding-left: 16px; border-left: 4px solid var(--accent); line-height: 1.25; }
.crumbs { font-size: 0.9rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* ---------- layouts ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split__media img { border-radius: var(--radius); width: 100%; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
@media (max-width: 860px) { .split, .two-col { grid-template-columns: 1fr; } }

/* ---------- portfolio ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); color: #fff; text-decoration: none; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0,0,0,.65)); }
.tile__label { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; font-size: 1.35rem; }
.tile:hover img { transform: scale(1.05); }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }

.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: var(--bg); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.04); }
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.92); display: none;
  align-items: center; justify-content: center; padding: 56px 16px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1400px, 100%); max-height: 100%; width: auto; object-fit: contain; }
.lightbox__cap { position: absolute; bottom: 14px; left: 16px; right: 16px; color: #fff; text-align: center; font-size: 0.95rem; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; width: 56px; height: 56px; }
.lightbox__close { top: 6px; right: 8px; }
.lightbox__prev { left: 4px; top: calc(50% - 28px); }
.lightbox__next { right: 4px; top: calc(50% - 28px); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact__info img { border-radius: var(--radius); margin-bottom: 1.5em; width: 100%; }
.contact__info h2 { font-size: 1.4rem; margin-top: 1.2em; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.form { display: grid; gap: 18px; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form__row--2 { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-size: 0.95rem; font-weight: 500; }
.form .req { color: var(--muted); font-weight: 400; }
.form input, .form select, .form textarea {
  font: inherit; font-size: 1rem; width: 100%; padding: 14px 20px; color: var(--ink);
  background: var(--white); border: 1px solid #9a9a96; border-radius: 300px;
}
.form textarea { border-radius: 22px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }
.form [aria-invalid='true'] { border-color: #b3261e; }
.form button { justify-self: start; min-width: 160px; }
.form button[disabled] { opacity: .6; cursor: progress; }
.form__status { margin: 0; min-height: 1.4em; }
.form__status.is-ok { color: #1d6b2f; font-weight: 500; }
.form__status.is-err { color: #b3261e; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 56px 0 40px; text-align: center; }
.site-footer__blurb { max-width: 760px; margin: 0 auto 2em; font-size: 0.85rem; line-height: 1.65; }
.site-footer__meta p { font-size: 0.9rem; }
.social--footer { justify-content: center; margin: 1em 0; }
.social--footer a { color: var(--ink); }
.social--footer a:hover { background: var(--ink); }
.social--footer a:hover svg { fill: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
