/*
Theme Name: Tocomania Design
Theme URI: https://tocomania.com/
Author: Tocomania Design LLC
Author URI: https://tocomania.com/
Description: A modern, minimal five-page theme for Tocomania Design LLC.
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tocomania-design
*/

:root {
  --ink: #08111d;
  --ink-2: #1d2b38;
  --yellow: #ffc400;
  --yellow-light: #fff2ae;
  --paper: #fffdf8;
  --white: #ffffff;
  --line: rgba(8, 17, 29, 0.14);
  --muted: #697581;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::selection { background: var(--yellow); color: var(--ink); }

img,
video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button,
input,
select,
textarea { font: inherit; }

.screen-reader-text {
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.site-header {
  background: rgba(255, 253, 248, 0.9);
  border-bottom: 1px solid rgba(8, 17, 29, 0.08);
  position: sticky;
  top: 0;
  transition: background 220ms ease, box-shadow 220ms ease;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 10px 30px rgba(8, 17, 29, 0.07);
}

.header-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  min-height: 84px;
  padding: 0 28px;
}

.brand { display: inline-flex; transition: transform 180ms ease; }
.brand:hover { transform: translateY(-2px); }
.brand img { height: auto; width: 145px; }

.primary-nav ul {
  align-items: center;
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 12px 16px;
  position: relative;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.primary-nav a::after {
  background: var(--yellow);
  bottom: 5px;
  content: "";
  height: 2px;
  left: 16px;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
  width: calc(100% - 32px);
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav .current-menu-item > a {
  background: var(--yellow);
  color: var(--ink);
  transform: translateY(-1px);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav .current-menu-item > a::after { transform: scaleX(1); }

.menu-toggle {
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: none;
  padding: 8px;
}

.menu-toggle span {
  background: currentColor;
  display: block;
  height: 2px;
  margin: 5px 0;
  transition: transform 220ms ease, opacity 220ms ease;
  width: 24px;
}

.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-of-type { transform: translateY(-7px) rotate(-45deg); }

.hero {
  margin: 0 auto;
  max-width: var(--max);
  padding: 68px 28px 118px;
}

.hero-grid {
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  min-height: 650px;
}

.hero-copy {
  animation: hero-copy-in 900ms var(--ease) both;
  background: var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 6vw, 84px);
  position: relative;
  z-index: 1;
}

.hero-copy::before {
  border: 1px solid rgba(255, 196, 0, 0.35);
  content: "";
  inset: 18px;
  pointer-events: none;
  position: absolute;
}

.hero-copy > * { position: relative; z-index: 1; }

.eyebrow {
  color: var(--yellow);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin: 0 0 21px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(3.4rem, 6.3vw, 6.6rem);
  letter-spacing: -0.08em;
  line-height: 0.9;
  margin: 0;
  max-width: 620px;
}

.hero h1 em,
.page-hero h1 em,
.section-heading h2 em,
.statement p em,
.about-grid h2 em,
.contact-details h2 em {
  font-family: var(--serif);
  font-weight: 400;
}

.hero h1 em { color: var(--yellow); }

.hero-rule {
  background: rgba(255, 255, 255, 0.25);
  height: 1px;
  margin: 34px 0 24px;
  width: 100%;
}

.hero-intro {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.02rem;
  margin: 0;
  max-width: 370px;
}

.hero-media {
  animation: hero-media-in 1100ms var(--ease) 100ms both;
  background: #d49a11;
  min-height: 650px;
  overflow: hidden;
  position: relative;
}

.hero-media::before {
  border: 1px solid rgba(255, 255, 255, 0.5);
  content: "";
  inset: 18px;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.hero-media::after {
  background: linear-gradient(140deg, rgba(255, 196, 0, 0.03), rgba(255, 196, 0, 0.25));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-media video {
  height: 100%;
  object-fit: cover;
  transition: transform 1200ms var(--ease);
  width: 100%;
}

.hero-media:hover video { transform: scale(1.035); }

.hero-media-caption {
  bottom: 31px;
  color: var(--white);
  font-size: 0.66rem;
  left: 31px;
  letter-spacing: 0.15em;
  position: absolute;
  text-transform: uppercase;
  z-index: 3;
}

.button {
  align-items: center;
  border: 0;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 14px;
  justify-content: center;
  letter-spacing: 0.14em;
  margin-top: 34px;
  padding: 16px 22px;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  width: fit-content;
}

.button::after { content: "↗"; font-size: 1rem; line-height: 0; }
.button:hover,
.button:focus-visible { box-shadow: 0 13px 28px rgba(8, 17, 29, 0.18); transform: translateY(-3px); }
.button-yellow { background: var(--yellow); color: var(--ink); }
.button-yellow:hover,
.button-yellow:focus-visible { background: var(--white); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover,
.button-dark:focus-visible { background: var(--white); color: var(--ink); }
.button:disabled { cursor: wait; opacity: 0.72; transform: none; }

.section {
  margin: 0 auto;
  max-width: var(--max);
  padding: 112px 28px;
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 38px;
  justify-content: space-between;
  margin-bottom: 52px;
}

.section-heading h2 {
  font-size: clamp(2.6rem, 4.6vw, 4.8rem);
  letter-spacing: -0.08em;
  line-height: 0.94;
  margin: 0;
  max-width: 580px;
}

.section-heading p {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0 0 4px;
  max-width: 335px;
}

.services-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 340px;
  overflow: hidden;
  position: relative;
  transition: border-color 220ms ease, box-shadow 280ms ease, transform 280ms var(--ease);
}

.service-card:hover {
  border-color: var(--yellow);
  box-shadow: 0 22px 52px rgba(8, 17, 29, 0.12);
  transform: translateY(-7px);
}

.service-card img {
  height: 230px;
  object-fit: cover;
  transition: filter 350ms ease, transform 600ms var(--ease);
  width: 100%;
}

.service-card:hover img { filter: saturate(1.15); transform: scale(1.06); }
.service-card-body { padding: 20px 20px 23px; }
.service-card-number { color: var(--yellow); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.15em; }
.service-card h3 { font-size: 1.03rem; letter-spacing: -0.03em; line-height: 1.15; margin: 9px 0 0; }
.service-card h3 span { color: var(--muted); display: block; font-family: var(--serif); font-size: 0.93rem; font-weight: 400; margin-top: 3px; }

.text-link {
  align-items: center;
  border-bottom: 1px solid var(--ink);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0.13em;
  margin-top: 34px;
  padding-bottom: 8px;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease;
}

.text-link span { color: var(--yellow); font-size: 1.1rem; }
.text-link:hover { border-color: var(--yellow); color: var(--muted); }

.statement {
  background: var(--yellow);
  margin: 0 auto;
  max-width: var(--max);
  padding: 88px clamp(28px, 7vw, 112px);
}

.statement-wide {
  max-width: none;
  padding-left: max(28px, calc((100vw - var(--max)) / 2 + 28px));
  padding-right: max(28px, calc((100vw - var(--max)) / 2 + 28px));
}

.statement p {
  font-size: clamp(2.2rem, 4.4vw, 5.2rem);
  letter-spacing: -0.08em;
  line-height: 0.96;
  margin: 0;
  max-width: 960px;
}

.statement .button { margin-top: 30px; }

.customers { background: var(--white); max-width: none; }
.customers-inner { margin: 0 auto; max-width: var(--max); }
.logo-row { align-items: center; display: flex; flex-wrap: wrap; gap: 50px; }
.logo-row a { display: block; }
.logo-row img { filter: grayscale(1); max-height: 74px; object-fit: contain; opacity: 0.7; transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease; width: 150px; }
.logo-row a:hover img { filter: grayscale(0); opacity: 1; transform: translateY(-4px); }

.contact {
  background: var(--ink);
  color: var(--white);
  max-width: none;
}

.contact-inner { margin: 0 auto; max-width: var(--max); }
.contact .section-heading { margin-bottom: 64px; }
.contact .section-heading p { color: rgba(255, 255, 255, 0.62); }
.contact h2 em { color: var(--yellow); }
.contact-grid { border-top: 1px solid rgba(255, 255, 255, 0.2); display: grid; grid-template-columns: repeat(3, 1fr); }
.contact-block { border-right: 1px solid rgba(255, 255, 255, 0.2); padding: 28px 30px 0 0; }
.contact-block + .contact-block { padding-left: 30px; }
.contact-block:last-child { border-right: 0; }
.contact-block h3 { color: var(--yellow); font-size: 0.68rem; letter-spacing: 0.16em; margin: 0 0 14px; text-transform: uppercase; }
.contact-block p { color: rgba(255, 255, 255, 0.78); margin: 0; }
.contact-block a:hover { color: var(--yellow); }

.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.5); padding: 25px 28px 32px; }
.footer-inner { align-items: center; border-top: 1px solid rgba(255, 255, 255, 0.14); display: flex; justify-content: space-between; margin: 0 auto; max-width: var(--max); padding-top: 22px; }
.footer-inner p { font-size: 0.72rem; letter-spacing: 0.04em; margin: 0; }
.footer-social { color: var(--yellow); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; transition: color 180ms ease; }
.footer-social:hover { color: var(--white); }

.page-hero {
  align-items: end;
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: 50px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  margin: 0 auto;
  max-width: var(--max);
  min-height: 450px;
  overflow: hidden;
  padding: 78px clamp(28px, 7vw, 100px);
  position: relative;
}

.page-hero::after {
  border: 1px solid rgba(255, 196, 0, 0.35);
  content: "";
  inset: 18px;
  pointer-events: none;
  position: absolute;
}

.page-hero > * { position: relative; z-index: 1; }
.page-hero-yellow { background: var(--yellow); color: var(--ink); }
.page-hero-yellow::after { border-color: rgba(8, 17, 29, 0.3); }
.page-hero-yellow .eyebrow { color: var(--ink); }
.page-hero h1 { font-size: clamp(3.5rem, 7.2vw, 7.5rem); letter-spacing: -0.09em; line-height: 0.88; margin: 0; max-width: 760px; }
.page-hero h1 em { color: var(--yellow); }
.page-hero-yellow h1 em { color: var(--white); }
.page-hero > p { color: rgba(255, 255, 255, 0.72); font-size: 1.04rem; margin: 0 0 5px; max-width: 335px; }
.page-hero-yellow > p { color: rgba(8, 17, 29, 0.72); }

.services-page-section,
.portfolio-section,
.contact-page-section { padding-top: 90px; }

.services-list { border-top: 1px solid var(--line); }
.service-row { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: 30px; grid-template-columns: 46px 260px minmax(0, 1fr); padding: 28px 0; transition: padding 250ms var(--ease); }
.service-row:hover { padding-left: 12px; padding-right: 12px; }
.service-row-number { color: var(--yellow); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; }
.service-row img { height: 150px; object-fit: cover; transition: filter 350ms ease, transform 500ms var(--ease); width: 260px; }
.service-row:hover img { filter: saturate(1.18); transform: scale(1.035); }
.service-row-copy { max-width: 510px; }
.service-row h2 { font-size: clamp(1.8rem, 3vw, 3.1rem); letter-spacing: -0.07em; line-height: 0.95; margin: 0 0 16px; }
.service-row h2 em { color: var(--muted); display: block; font-family: var(--serif); font-size: 0.72em; font-weight: 400; letter-spacing: -0.03em; margin-top: 5px; }
.service-row p { color: var(--muted); margin: 0; max-width: 400px; }

.about-grid { display: grid; gap: 70px; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); }
.about-grid h2,
.contact-details h2 { font-size: clamp(2.7rem, 5vw, 5.3rem); letter-spacing: -0.09em; line-height: 0.92; margin: 0; }
.about-copy { color: var(--ink-2); font-size: 1.07rem; max-width: 510px; }
.about-copy p { margin: 0 0 22px; }
.about-image-band { height: min(62vw, 620px); margin: 0 auto; max-width: var(--max); overflow: hidden; position: relative; }
.about-image-band img { height: 100%; object-fit: cover; transition: transform 1200ms var(--ease); width: 100%; }
.about-image-band:hover img { transform: scale(1.025); }
.about-image-band::after { background: linear-gradient(90deg, rgba(8, 17, 29, 0.55), transparent 58%); content: ""; inset: 0; position: absolute; }
.about-image-caption { bottom: 36px; color: var(--white); font-size: clamp(1.7rem, 3vw, 3rem); left: 38px; letter-spacing: -0.07em; line-height: 0.98; position: absolute; z-index: 1; }
.about-contact { padding-bottom: 120px; }
.about-contact .section-heading { margin-bottom: 0; }
.about-contact .section-heading > p { color: var(--ink-2); line-height: 1.7; }

.portfolio-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portfolio-card { background: var(--ink); min-height: 360px; overflow: hidden; position: relative; }
.portfolio-card-featured { min-height: 560px; }
.portfolio-card img { height: 100%; object-fit: cover; opacity: 0.84; transition: opacity 350ms ease, transform 900ms var(--ease); width: 100%; }
.portfolio-card:hover img { opacity: 0.56; transform: scale(1.06); }
.portfolio-card::after { background: linear-gradient(180deg, transparent 32%, rgba(8, 17, 29, 0.9)); content: ""; inset: 0; position: absolute; }
.portfolio-card-caption { bottom: 30px; color: var(--white); left: 30px; position: absolute; right: 30px; z-index: 1; }
.portfolio-card-caption span { color: var(--yellow); display: block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; margin-bottom: 9px; text-transform: uppercase; }
.portfolio-card-caption h2 { font-size: clamp(1.6rem, 3vw, 3rem); letter-spacing: -0.07em; line-height: 0.95; margin: 0; }

.contact-page-grid { display: grid; gap: clamp(50px, 9vw, 130px); grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr); }
.contact-details h2 { margin-bottom: 54px; }
.contact-detail { border-top: 1px solid var(--line); padding: 18px 0; }
.contact-detail span { color: var(--muted); display: block; font-size: 0.67rem; letter-spacing: 0.14em; margin-bottom: 5px; text-transform: uppercase; }
.contact-detail a { font-size: 1.1rem; transition: color 180ms ease; }
.contact-detail a:hover { color: #a17700; }
.contact-detail p { margin: 0; }

.form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 16px 18px 0 var(--yellow);
  padding: clamp(28px, 5vw, 56px);
}

.form-heading { margin-bottom: 32px; }
.form-heading h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); letter-spacing: -0.07em; line-height: 0.95; margin: 0 0 10px; }
.form-heading p { color: var(--muted); margin: 0; }
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.form-field input,
.form-field select,
.form-field textarea { appearance: none; background: var(--paper); border: 1px solid var(--line); border-radius: 0; color: var(--ink); font: inherit; outline: 0; padding: 14px 15px; transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease; width: 100%; }
.form-field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 19px) 20px, calc(100% - 14px) 20px; background-repeat: no-repeat; background-size: 5px 5px, 5px 5px; padding-right: 38px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { background: var(--white); border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 196, 0, 0.2); }
.form-field input:user-invalid:not(:placeholder-shown),
.form-field textarea:user-invalid:not(:placeholder-shown) { border-color: #bf5c3b; }
.form-field textarea { min-height: 150px; resize: vertical; }
.form-wrap .button { cursor: pointer; margin-top: 0; }
.form-wrap .button.is-sending::after { animation: spin 700ms linear infinite; content: "↻"; }
.form-note { color: var(--muted); font-size: 0.76rem; margin: 18px 0 0; }
.honeypot { height: 0; left: -9999px; overflow: hidden; position: absolute; width: 0; }
.form-message { font-size: 0.9rem; margin-bottom: 22px; padding: 15px 17px; }
.form-message-success { background: #e7f4e8; color: #275b2b; }
.form-message-error { background: #fff0ea; color: #8b2e1d; }
.page-content h1 { font-size: clamp(3rem, 6vw, 6rem); letter-spacing: -0.09em; line-height: 0.9; }

/* Scroll reveal is opt-in through the JS-added html.motion-ready class. */
.motion-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}

.motion-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
.motion-ready .service-card:nth-child(2),
.motion-ready .service-row:nth-child(2),
.motion-ready .portfolio-card:nth-child(2) { transition-delay: 70ms; }
.motion-ready .service-card:nth-child(3),
.motion-ready .service-row:nth-child(3),
.motion-ready .portfolio-card:nth-child(3) { transition-delay: 140ms; }
.motion-ready .service-card:nth-child(4),
.motion-ready .service-row:nth-child(4),
.motion-ready .portfolio-card:nth-child(4) { transition-delay: 210ms; }
.motion-ready .service-card:nth-child(5),
.motion-ready .service-row:nth-child(5) { transition-delay: 280ms; }
.motion-ready .service-card:nth-child(6),
.motion-ready .service-row:nth-child(6) { transition-delay: 350ms; }

@keyframes hero-copy-in {
  from { opacity: 0; transform: translateX(-34px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes hero-media-in {
  from { opacity: 0; transform: translateX(34px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes spin { to { transform: rotate(360deg); } }

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

@media (max-width: 900px) {
  .hero { padding-top: 42px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { min-height: 440px; }
  .hero-media { min-height: 390px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero { grid-template-columns: 1fr; min-height: 400px; }
  .service-row { grid-template-columns: 38px 180px minmax(0, 1fr); }
  .service-row img { height: 130px; width: 180px; }
  .about-grid { gap: 40px; }
  .portfolio-card-featured { min-height: 450px; }
}

@media (max-width: 680px) {
  .header-inner { min-height: 72px; padding: 0 20px; }
  .brand img { width: 124px; }
  .menu-toggle { display: block; }
  .primary-nav { background: var(--paper); border-bottom: 1px solid var(--line); display: none; left: 0; padding: 10px 20px 18px; position: absolute; right: 0; top: 72px; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { align-items: stretch; flex-direction: column; }
  .primary-nav a { justify-content: flex-start; padding: 13px 10px; }
  .primary-nav a::after { display: none; }
  .hero { padding: 26px 16px 70px; }
  .hero-copy { min-height: 460px; padding: 38px 28px; }
  .hero-copy::before,
  .hero-media::before,
  .page-hero::after { inset: 12px; }
  .hero-media { min-height: 300px; }
  .hero h1 { font-size: clamp(3.1rem, 16vw, 5rem); }
  .section { padding: 76px 20px; }
  .section-heading { align-items: start; flex-direction: column; gap: 22px; margin-bottom: 34px; }
  .services-grid { gap: 12px; grid-template-columns: 1fr 1fr; }
  .service-card { min-height: 0; }
  .service-card img { height: 155px; }
  .service-card-body { padding: 14px; }
  .service-card h3 { font-size: 0.9rem; }
  .statement { padding: 62px 24px; }
  .logo-row { gap: 30px; justify-content: space-between; }
  .logo-row img { max-height: 55px; width: 110px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-block,
  .contact-block + .contact-block { border-bottom: 1px solid rgba(255, 255, 255, 0.2); border-right: 0; padding: 24px 0; }
  .contact-block:last-child { border-bottom: 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 12px; }
  .page-hero { gap: 28px; min-height: 390px; padding: 54px 24px; }
  .page-hero h1 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .services-page-section,
  .portfolio-section,
  .contact-page-section { padding-top: 60px; }
  .service-row { align-items: start; gap: 15px; grid-template-columns: 28px 1fr; padding: 20px 0; }
  .service-row img { grid-column: 2; height: 190px; width: 100%; }
  .service-row-copy { grid-column: 2; }
  .service-row h2 { font-size: 1.85rem; }
  .about-grid,
  .contact-page-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 34px; }
  .about-image-band { height: 390px; }
  .about-image-caption { bottom: 24px; left: 24px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card,
  .portfolio-card-featured { min-height: 370px; }
  .form-row { grid-template-columns: 1fr; }
  .form-wrap { box-shadow: 9px 10px 0 var(--yellow); padding: 24px 20px; }
}