/* Sydney IT — sydneyit.services
   Australian warm modernism: terracotta on sandstone, harbour-ink + eucalypt.
   Distinct from Alien IT (space/blue) and lewington.online (olive). */

@font-face { font-family:'Familjen Grotesk'; src:url('/assets/fonts/familjen.woff2') format('woff2'); font-weight:400 700; font-style:normal; font-display:swap; }
@font-face { font-family:'Hanken Grotesk'; src:url('/assets/fonts/hanken.woff2') format('woff2'); font-weight:400 600; font-style:normal; font-display:swap; }
@font-face { font-family:'Spline Sans Mono'; src:url('/assets/fonts/spline.woff2') format('woff2'); font-weight:400 500; font-style:normal; font-display:swap; }

:root {
  /* surfaces — warm sandstone, NOT cream-default */
  --bg:        oklch(0.962 0.018 75);
  --surface:   oklch(0.985 0.010 80);
  --line:      oklch(0.882 0.026 72);
  /* ink — harbour */
  --ink:       oklch(0.268 0.024 205);
  --ink-soft:  oklch(0.404 0.022 205);
  --ink-mute:  oklch(0.520 0.018 202);
  /* brand */
  --primary:     oklch(0.560 0.150 41);   /* terracotta */
  --primary-deep:oklch(0.498 0.140 40);   /* darker terracotta for text/hover */
  --primary-ink: oklch(0.985 0.010 80);
  --accent:      oklch(0.498 0.082 178);  /* eucalypt — links, ticks */
  --accent-deep: oklch(0.430 0.078 178);
  --dark:        oklch(0.246 0.026 206);  /* harbour darkBand */
  --on-dark:     oklch(0.962 0.016 78);
  --on-dark-soft:oklch(0.800 0.020 80);

  --font-display:'Familjen Grotesk', system-ui, sans-serif;
  --font-body:'Hanken Grotesk', system-ui, sans-serif;
  --font-mono:'Spline Sans Mono', ui-monospace, monospace;

  --maxw: 74rem;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --z-sticky: 100; --z-skip: 200;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body {
  margin: 0; background: #f3ece1; background: var(--bg); color: #25302f; color: var(--ink);
  font-family: var(--font-body); font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.06; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--accent-deep); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
strong { font-weight: 600; }
img,svg { display: block; max-width: 100%; }
::selection { background: var(--primary); color: var(--primary-ink); }
:focus-visible { outline: 2.5px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

.skip { position:absolute; left:0; top:0; transform:translateY(-120%); z-index:var(--z-skip); background:var(--ink); color:var(--on-dark); padding:.7rem 1.1rem; border-radius:0 0 10px 0; font-weight:500; text-decoration:none; }
.skip:focus { transform: translateY(0); }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--font-mono); }
.kicker { font-family: var(--font-mono); font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
.kicker b { color: var(--primary-deep); font-weight: 500; }

/* ---------- header ---------- */
.site { position: sticky; top: 0; z-index: var(--z-sticky); background: color-mix(in oklch, var(--bg) 90%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), background .3s var(--ease); }
.site.is-stuck { border-bottom-color: var(--line); background: color-mix(in oklch, var(--bg) 97%, transparent); }
.site__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .8rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.brand__dot { width: .7rem; height: .7rem; border-radius: 50%; background: var(--primary); flex: none; margin-top: .15rem; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; letter-spacing: -0.02em; color: var(--ink); }
.brand__name i { font-style: normal; color: var(--primary); }
.nav { display: flex; align-items: center; gap: clamp(.5rem, 2vw, 1.6rem); }
.nav a:not(.btn) { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):not(.nav__cta) { display: none; }
@media (min-width: 800px){ .nav a:not(.btn):not(.nav__cta){ display: inline; } }

/* ---------- buttons ---------- */
.btn { display:inline-flex; align-items:center; gap:.5rem; font-family:var(--font-body); font-weight:600; font-size:1rem; padding:.72rem 1.3rem; border-radius:10px; text-decoration:none; cursor:pointer; border:1px solid transparent; transition: transform .12s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.btn--primary { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.btn--primary:hover { background: var(--primary-deep); border-color: var(--primary-deep); color: var(--primary-ink); }
.btn--primary:active { transform: scale(.98) translateY(1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--primary); color: var(--ink); }
.btn--ondark { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.btn--ondark:hover { background: var(--primary-deep); }
.btn--ondark.btn--ghost { background: transparent; color: var(--on-dark); border-color: color-mix(in oklch, var(--on-dark) 35%, transparent); }
.btn--ondark.btn--ghost:hover { border-color: var(--on-dark); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(3rem, 8vw, 6rem) clamp(2.5rem, 6vw, 4.5rem); }
.hero__tag { margin-bottom: 1.1rem; }
.hero__h { font-size: clamp(2.5rem, 1.7rem + 4vw, 4.4rem); letter-spacing: -0.035em; line-height: 0.98; max-width: 16ch; }
.hero__lead { margin-top: 1.3rem; font-size: clamp(1.1rem, 1rem + .6vw, 1.35rem); color: var(--ink-soft); max-width: 52ch; line-height: 1.5; }
.hero__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.hero__trust { margin-top: 1.5rem; font-family: var(--font-mono); font-size: .8rem; color: var(--ink-mute); letter-spacing: .02em; }

/* ---------- section scaffolding ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-head { max-width: 46ch; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head h2 { font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.5rem); letter-spacing: -0.025em; }
.section-head .kicker { display: block; margin-bottom: .7rem; }
.section-head p { margin-top: .8rem; color: var(--ink-soft); font-size: 1.0625rem; }

/* ---------- shopfront row (signature) ---------- */
.shopfront { border-top: 1px solid var(--line); }
.shop-row { display: grid; grid-template-columns: 4.5rem 1fr auto; align-items: center; gap: 1rem; padding: clamp(1rem, 2.2vw, 1.5rem) .25rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); position: relative; transition: background .2s var(--ease); }
.shop-row:hover { background: var(--surface); color: var(--ink); }
.shop-row__rail { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .06em; color: var(--ink-mute); transition: transform .2s var(--ease); }
.shop-row:hover .shop-row__rail { transform: translateX(4px); color: var(--primary-deep); }
.shop-row__main { min-width: 0; }
.shop-row__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 1rem + 1vw, 1.7rem); letter-spacing: -0.02em; }
.shop-row__benefit { color: var(--ink-soft); font-size: .98rem; margin-top: .15rem; transition: transform .2s var(--ease); }
.shop-row:hover .shop-row__benefit { transform: translateX(2px); }
.shop-row__go { color: var(--primary); font-size: 1.3rem; flex: none; transition: transform .2s var(--ease); }
.shop-row:hover .shop-row__go { transform: translateX(4px); }
.shop-row--live .shop-row__name::after { content:""; display:inline-block; width:.55rem; height:.55rem; border-radius:50%; background:var(--primary); margin-left:.55rem; vertical-align:middle; }
@media (max-width: 560px){ .shop-row { grid-template-columns: 1fr auto; } .shop-row__rail { display:none; } }

/* ---------- reasons (why us) — not a card grid ---------- */
.reasons { display: grid; gap: clamp(1.5rem,3vw,2.5rem); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.reason { border-top: 2px solid var(--primary); padding-top: 1rem; }
.reason h3 { font-size: 1.2rem; letter-spacing: -0.015em; }
.reason p { margin-top: .5rem; color: var(--ink-soft); font-size: 1rem; }

/* ---------- how it works (no numbers) ---------- */
.steps { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(13rem,1fr)); }
.step { padding: 1.25rem 1.25rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.step__icon { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-deep); }
.step h3 { margin-top: .5rem; font-size: 1.15rem; }
.step p { margin-top: .4rem; color: var(--ink-soft); font-size: .98rem; }

/* ---------- dark band ---------- */
.band { background: var(--dark); color: var(--on-dark); }
.band h2 { color: var(--on-dark); }
.band .kicker { color: var(--on-dark-soft); }
.band p { color: var(--on-dark-soft); }
.band a:not(.btn) { color: var(--on-dark); }
.cta-band { padding-block: clamp(3rem, 7vw, 5rem); }
.cta-band__in { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:1.5rem; }
.cta-band h2 { font-size: clamp(1.7rem,1.3rem+1.6vw,2.4rem); max-width: 20ch; }
.cta-band .phone { font-family: var(--font-mono); font-size: 1.1rem; color: var(--on-dark); text-decoration: none; }

/* ---------- service page ---------- */
.svc-hero { padding-block: clamp(2.5rem,6vw,4rem) clamp(1.5rem,3vw,2.5rem); }
.svc-hero h1 { font-size: clamp(2rem,1.5rem+2.5vw,3.2rem); letter-spacing: -0.03em; max-width: 18ch; }
.svc-hero .lead { margin-top: 1.1rem; font-size: clamp(1.05rem,1rem+.4vw,1.25rem); color: var(--ink-soft); max-width: 54ch; }
.svc-grid { display: grid; gap: clamp(2rem,4vw,3.5rem); grid-template-columns: 1fr; }
@media (min-width: 880px){ .svc-grid { grid-template-columns: 1.4fr .9fr; align-items: start; } }
.included { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.included li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .65rem; font-size: 1.0625rem; }
.included li::before { content: "✓"; color: var(--accent-deep); font-weight: 600; }
.included li b { font-weight: 600; }
.glance { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(1.25rem,2.5vw,1.75rem); }
.glance h3 { font-size: 1.05rem; }
.glance dl { margin: 1rem 0 0; display: grid; gap: .7rem; }
.glance dt { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-mute); }
.glance dd { margin: .1rem 0 0; font-weight: 500; }
.price-table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: 1rem; }
.price-table th, .price-table td { text-align: left; padding: .7rem .25rem; border-bottom: 1px solid var(--line); }
.price-table th { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-mute); font-weight: 500; }
.price-table .pr { font-family: var(--font-mono); color: var(--primary-deep); }
.price-note { margin-top: .7rem; font-size: .85rem; color: var(--ink-mute); }
/* FAQ — native <details> */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem .25rem; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-weight: 400; font-size: 1.4rem; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { padding: 0 .25rem 1.2rem; color: var(--ink-soft); max-width: 60ch; }
.related { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.related a { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .92rem; font-weight: 500; transition: border-color .2s var(--ease), background .2s var(--ease); }
.related a:hover { border-color: var(--primary); background: var(--surface); }

/* ---------- forms (ethical contact) ---------- */
.form { display: grid; gap: 1.1rem; max-width: 34rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 500; font-size: .95rem; }
.field label .opt { color: var(--ink-mute); font-weight: 400; }
.field input, .field textarea { font: inherit; padding: .75rem .85rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in oklch, var(--primary) 38%, transparent); }
.field textarea { min-height: 7rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; font-size: .92rem; color: var(--ink-soft); }
.consent input { margin-top: .2rem; }
.form__note { font-size: .85rem; color: var(--ink-mute); }

/* ---------- contact details list ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-list dt, .contact-list .ci__k { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-mute); }
.contact-list .ci__v { font-size: 1.1rem; font-weight: 500; }
.contact-list a { color: var(--accent-deep); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.foot { background: var(--dark); color: var(--on-dark); padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.foot__promise { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem,1.1rem+1.4vw,2rem); letter-spacing: -0.02em; max-width: 16ch; }
.foot__phone { font-family: var(--font-mono); font-size: 1.15rem; color: var(--on-dark); text-decoration: none; display: inline-block; margin-top: .8rem; }
.foot__cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(11rem,1fr)); margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid color-mix(in oklch, var(--on-dark) 16%, transparent); }
.foot__col h4 { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--on-dark-soft); font-weight: 500; }
.foot__col ul { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .5rem; }
.foot__col a { color: var(--on-dark-soft); text-decoration: none; font-size: .95rem; }
.foot__col a:hover { color: var(--on-dark); }
.foot__bottom { margin-top: 2.5rem; font-family: var(--font-mono); font-size: .78rem; color: var(--on-dark-soft); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

/* ---------- motion (calm, reduced-motion safe) ---------- */
@keyframes settle { from { opacity: 0; transform: translateY(6px); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.hero__tag, .hero__h, .hero__lead, .hero__cta, .hero__trust { animation: settle .5s var(--ease) backwards; }
.hero__h { animation-delay: .06s; } .hero__lead { animation-delay: .14s; } .hero__cta { animation-delay: .22s; } .hero__trust { animation-delay: .3s; }
@media (prefers-reduced-motion: reduce){
  .hero__tag,.hero__h,.hero__lead,.hero__cta,.hero__trust { animation: none; }
  .btn--primary:active { transform: none; }
  .shop-row:hover .shop-row__rail,.shop-row:hover .shop-row__benefit,.shop-row:hover .shop-row__go { transform: none; }
}

/* responsive nav CTA + cta-band wrap (review fixes) */
.nav__cta .cta-short { display: none; }
@media (max-width: 480px){
  .nav__cta { padding: .5rem .85rem; font-size: .92rem; }
  .nav__cta .cta-full { display: none; }
  .nav__cta .cta-short { display: inline; }
}
@media (max-width: 600px){
  .cta-band__in { flex-direction: column; align-items: flex-start; }
}
