/* ============================================================
   PROAGO BRANDING DEPT. — the shared system, brand guide v2 as drawn
   (colour p12, type p14-18, the rounded-corner motif of 2026-11-19).
   Every page of the site links this file: the bar, the footer, type, buttons and forms live here.
   The home page still carries the same rules inline while it is under review; it moves to this file when the site goes over.
   To re-skin, change the :root block only.
   ============================================================ */
:root {
  /* Colour. The house is Rosetta Stone on Greek Kore; the others are the submark sequence. */
  --kore: #DFE6EE;
  --kore-lift: #EEF2F7;
  --ink: #383838;            /* Rosetta Stone: Branding Dept. */
  --olive: #3C5036;          /* Greek Olive: Club */
  --aegean: #006C9E;         /* Aegean Blue: Studio */
  --amphora: #6A5235;        /* Amphora: Art */
  --accute: #F2BD57;         /* the accent band */
  --ink-read: rgba(56, 56, 56, 0.84);
  --ink-quiet: rgba(56, 56, 56, 0.66);
  --hair: rgba(56, 56, 56, 0.18);
  --white: #ffffff;
  --mark: var(--ink);        /* the colour of emphasis on this house's pages */

  /* Type. Source Serif 4 and Roboto Mono stand in for Suisse Neue and Suisse Int'l Mono until there are licensed web files. */
  --display: "alfarn-2", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono: "Roboto Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --r-xl: 2rem;
  --r-lg: 1.35rem;
  --r-md: 0.85rem;
  --r-pill: 999px;
  --frame: 1.25rem;

  --section-pad-y: 7rem;
  --section-pad-x: 4rem;
  --section-max-w: 1180px;
  --nav-pad-x: 4rem;
  --nav-pad-y: 0.6rem;
  --bar-h: 90px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Names the pages built before v2 still use in their own styles, pointed at the v2 values. */
  --off-white: var(--kore-lift);
  --bg: var(--kore-lift);
  --border: var(--hair);
  --ink-dim: var(--ink-read);
  --ink-muted: var(--ink-quiet);
  --ink-ghost: rgba(56, 56, 56, 0.06);
  --olive-dim: rgba(56, 56, 56, 0.34);
  --olive-bg: rgba(56, 56, 56, 0.05);
  --gold: var(--accute);
  --gold-hover: rgba(242, 189, 87, 0.2);
  --deep: var(--ink);
  --pad-x: var(--section-pad-x);
  --pad-y: var(--section-pad-y);
  --max-w: var(--section-max-w);
  --r: var(--r-md);
  --r-sm: 0.6rem;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 12px); -webkit-text-size-adjust: 100%; }
body { font-family: var(--serif); font-size: 1.125rem; font-weight: 400; line-height: 1.6; color: var(--ink); background: var(--kore); overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--aegean); outline-offset: 3px; }
.on-ink :focus-visible, .on-olive :focus-visible, .site-footer :focus-visible { outline-color: var(--accute); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-nav { position: absolute; top: -100%; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--white); padding: 0.7rem 1.2rem; border-radius: var(--r-pill); font-family: var(--mono); font-size: 0.8rem; text-decoration: none; z-index: 400; }
.skip-nav:focus { top: 0.5rem; }

/* ---------- Shared type ---------- */
.display { font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; line-height: 0.96; color: var(--ink); }
.h2 { font-size: clamp(2rem, 4.3vw, 3.6rem); max-width: 19ch; margin-bottom: 1.5rem; text-wrap: balance; }
.h3 { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.08; color: var(--ink); }
.section-tag { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--mono); font-size: 0.78rem; font-weight: 700; letter-spacing: -0.01em; text-transform: uppercase; color: var(--ink); margin-bottom: 1.4rem; }
.section-tag::before { content: ""; width: 28px; height: 4px; border-radius: 2px; background: var(--accute); }
.prose { color: var(--ink-read); max-width: 58ch; }
.mono { font-family: var(--mono); font-size: 0.78rem; letter-spacing: -0.01em; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; padding: 1.05rem 1.9rem; font-family: var(--mono); font-size: 0.86rem; font-weight: 700; letter-spacing: -0.01em; text-transform: uppercase; text-decoration: none; border: 2px solid var(--ink); background: var(--ink); color: var(--white); cursor: pointer; border-radius: var(--r-pill); transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease); }
.btn:hover { background: #1f1f1f; border-color: #1f1f1f; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accute); border-color: var(--accute); color: var(--ink); }
.btn-accent:hover { background: #F6CB78; border-color: #F6CB78; }
.btn-quiet { background: transparent; color: var(--ink); padding: 0.72rem 1.3rem; font-size: 0.78rem; }
.btn-quiet:hover { background: var(--ink); color: var(--white); }
.text-link { font-family: var(--mono); font-size: 0.86rem; font-weight: 700; color: var(--ink); text-underline-offset: 0.3em; text-decoration-thickness: 2px; text-decoration-color: var(--accute); }
.text-link:hover { text-decoration-color: var(--ink); }

/* the colour sequence, kept as a mark of the house */
.sequence { display: flex; gap: 6px; }
.sequence i { display: block; height: 10px; flex: 1 1 0; border-radius: 5px; }
.sequence .c1 { background: var(--olive); } .sequence .c2 { background: var(--aegean); } .sequence .c3 { background: var(--amphora); }
.sequence .c4 { background: var(--ink); } .sequence .c5 { background: var(--white); } .sequence .c6 { background: var(--accute); }

/* ---------- Top bar ---------- */
.site-bar { position: sticky; top: 0; z-index: 300; padding: var(--nav-pad-y) var(--frame); background: var(--kore); }
.bar-inner { min-height: 4.4rem; padding: 0.55rem 0.6rem 0.55rem 1.9rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--white); border-radius: var(--r-pill); box-shadow: 0 10px 28px -20px rgba(30, 50, 70, 0.55); }
.bar-brand { display: block; color: var(--ink); text-decoration: none; }
.bar-brand .mainmark { display: block; height: 3.1rem; width: auto; }
.bar-links { display: flex; align-items: center; gap: 1.9rem; }
.bar-link { font-family: var(--mono); font-size: 0.92rem; font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; text-decoration: none; color: var(--ink); }
.bar-link:hover, .bar-link[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accute); text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.site-bar .btn { padding: 1.02rem 1.8rem; font-size: 0.92rem; }
.nav-toggle { display: none; width: 3.1rem; height: 3.1rem; border: 2px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 1.05rem; height: 2px; background: var(--ink); border-radius: 1px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: var(--section-pad-y) var(--section-pad-x); position: relative; }
.section-inner { max-width: var(--section-max-w); margin: 0 auto; position: relative; }
.section-head { margin-bottom: 2.8rem; }
.on-white { background: var(--white); }
.panel-wrap { padding: 0 var(--frame); }
.panel { border-radius: var(--r-xl); padding: var(--section-pad-y) calc(var(--section-pad-x) - var(--frame)); }
.on-ink { background: var(--ink); color: var(--white); }
.on-olive { background: var(--olive); color: var(--white); }
.on-ink .display, .on-olive .display, .on-ink .section-tag, .on-olive .section-tag { color: var(--white); }
.on-ink .prose, .on-olive .prose { color: rgba(255, 255, 255, 0.9); }

/* ---------- Forms ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.form-group { display: flex; flex-direction: column; gap: 0.38rem; margin-bottom: 0.9rem; }
.form-group label { font-family: var(--mono); font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; }
.optional { font-weight: 400; text-transform: none; color: var(--ink-quiet); }
.form-input { width: 100%; padding: 0.85rem 0.95rem; font-family: var(--serif); font-size: 16px; line-height: 1.3; color: var(--ink); background: var(--white); border: 1px solid rgba(56, 56, 56, 0.55); outline: none; -webkit-appearance: none; -moz-appearance: none; appearance: none; border-radius: var(--r-md); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.form-input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(242, 189, 87, 0.6); }
.form-input[aria-invalid="true"] { border-color: #9A2B2B; }
select.form-input { cursor: pointer; padding-right: 2.4rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23383838' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.95rem center; background-size: 12px 8px; }
textarea.form-input { resize: vertical; min-height: 76px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--white); border-top: 6px solid var(--accute); border-radius: var(--r-xl) var(--r-xl) 0 0; padding: 4rem var(--section-pad-x) 2.2rem; margin-top: var(--frame); }
.footer-inner { max-width: var(--section-max-w); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3rem; align-items: start; padding-bottom: 2.6rem; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.footer-logo { display: block; width: 200px; color: var(--white); margin-bottom: 1.6rem; }
.footer-logo .mainmark { width: 100%; height: auto; }
.footer-conviction { font-family: var(--display); font-weight: 700; font-size: 1.25rem; line-height: 1.1; letter-spacing: -0.02em; max-width: 22ch; margin-bottom: 0.9rem; }
.footer-locality { font-size: 1rem; color: rgba(255, 255, 255, 0.78); max-width: 38ch; }
.footer-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.4rem; }
.footer-col p, .footer-col a, .footer-nav a { display: block; font-family: var(--mono); font-size: 0.8rem; line-height: 1.9; color: rgba(255, 255, 255, 0.82); text-decoration: none; letter-spacing: -0.01em; }
.footer-col .footer-col-label, .footer-nav .footer-col-label { font-family: var(--mono); font-size: 0.8rem; line-height: 1.9; font-weight: 700; text-transform: uppercase; color: var(--white); margin-bottom: 0.3rem; letter-spacing: -0.01em; }
.site-footer .footer-col a, .site-footer .footer-col p, .site-footer .footer-nav a { display: block; }
.footer-col + .footer-col { margin-top: 1.6rem; }
.footer-col a:hover, .footer-nav a:hover, .footer-socials a:hover { color: var(--accute); }
.footer-nav { display: block; margin-top: 0; }
.footer-socials { display: flex; gap: 1.2rem; margin-top: 1.4rem; }
.footer-socials a { font-family: var(--mono); font-size: 0.8rem; color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.footer-bottom { padding-top: 1.4rem; font-family: var(--mono); font-size: 0.72rem; color: rgba(255, 255, 255, 0.6); letter-spacing: -0.01em; }
.footer-bottom a { color: inherit; }

/* ---------- The bar's Services menu, and the phone number where Contact was (decision D3, 2026-11-27) ---------- */
.bar-menu { position: relative; display: flex; align-items: center; }
.bar-menu-btn { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0; border: 0; background: transparent; cursor: pointer; }
.bar-menu-btn svg { width: 0.7rem; height: 0.7rem; transition: transform 0.25s var(--ease); }
.bar-menu.is-open .bar-menu-btn svg { transform: rotate(180deg); }
.bar-menu-list { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); padding-top: 0.95rem; display: none; z-index: 5; }
.bar-menu.is-open .bar-menu-list { display: block; }
.bar-menu-card { list-style: none; margin: 0; min-width: 17rem; padding: 0.6rem; background: var(--white); border-radius: var(--r-lg); box-shadow: 0 24px 50px -24px rgba(30, 50, 70, 0.6), 0 0 0 1px var(--hair); }
.bar-menu-card a { display: block; padding: 0.72rem 0.9rem; border-radius: var(--r-md); font-family: var(--mono); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.bar-menu-card a:hover, .bar-menu-card a:focus-visible, .bar-menu-card a[aria-current="page"] { background: var(--kore-lift); }
.bar-tel { white-space: nowrap; }
@media (max-width: 860px) {
  .bar-menu { display: block; border-bottom: 1px solid var(--hair); padding: 0.3rem 0 0.5rem; }
  .bar-menu-btn { display: none; }
  .bar-menu::before { content: "Services"; display: block; padding: 0.6rem 0.9rem 0.2rem; font-family: var(--mono); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; color: var(--ink-quiet); }
  .bar-menu-list { position: static; transform: none; padding-top: 0; display: block; }
  .bar-menu-card { min-width: 0; padding: 0; background: transparent; box-shadow: none; border-radius: 0; }
  .bar-menu-card a { padding: 0.7rem 0.9rem 0.7rem 1.6rem; white-space: normal; }
}

/* ---------- The quick bar on a phone: call, or start. Every page carries it. ---------- */
.mbar { display: none; }
@media (max-width: 768px) {
  .site-footer { padding-bottom: calc(6.4rem + env(safe-area-inset-bottom, 0px)); }
  .mbar { position: fixed; left: var(--frame); right: var(--frame); bottom: calc(var(--frame) + env(safe-area-inset-bottom, 0px)); z-index: 290; display: flex; align-items: center; gap: 0.4rem; padding: 0.4rem; border-radius: var(--r-pill); background: var(--ink); border: 0; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .mbar a { flex: 1; display: flex; align-items: center; justify-content: center; padding: 0.85rem 0.6rem; border-radius: var(--r-pill); font-family: var(--mono); font-size: 0.78rem; font-weight: 700; letter-spacing: -0.01em; text-transform: uppercase; text-decoration: none; }
  .mbar .mbar-tel { color: var(--white); font-family: var(--mono); }
  .mbar .mbar-go { background: var(--accute); color: var(--ink); }
  body.nav-menu-open .mbar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
}

@media (max-width: 1024px) {
  :root { --section-pad-y: 5.2rem; --section-pad-x: 2.5rem; --nav-pad-x: 2.5rem; }
  .h2 { max-width: 22ch; }
}
@media (max-width: 860px) {
  :root { --frame: 0.75rem; --r-xl: 1.5rem; }
  .nav-toggle { display: inline-flex; }
  .bar-links { position: absolute; left: var(--frame); right: var(--frame); top: calc(100% - 0.2rem); flex-direction: column; align-items: stretch; gap: 0; padding: 0.8rem; background: var(--white); border-radius: var(--r-lg); box-shadow: 0 24px 50px -24px rgba(30, 50, 70, 0.6); display: none; }
  .bar-links.is-open { display: flex; }
  .bar-link { padding: 0.95rem 0.9rem; font-size: 0.86rem; border-bottom: 1px solid var(--hair); }
  .bar-links .btn { margin-top: 0.8rem; padding: 0.95rem 1.3rem; }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 2.2rem; }
}
@media (max-width: 640px) {
  :root { --section-pad-y: 4rem; --section-pad-x: 1.25rem; --nav-pad-x: 1.25rem; --nav-pad-y: 0.5rem; --bar-h: 80px; }
  body { font-size: 1.06rem; }
  .bar-inner { min-height: 3.9rem; padding: 0.4rem 0.4rem 0.4rem 1.3rem; }
  .bar-brand .mainmark { height: 2.5rem; }
  .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .footer-columns { grid-template-columns: minmax(0, 1fr); }
}
