/* NOTIC — site styles */

/* ---------- Top bar ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  background: color-mix(in oklab, var(--topbar-bg) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.topbar.is-scrolled { border-bottom-color: var(--line); }
.topbar-inner {
  height: 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.brand-logo {
  width: 100px;
  height: auto;
  display: block;
  flex-shrink: 0;
}
.brand-wordmark {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 15px;
}
.brand-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateY(-1px);
}

.topnav {
  display: flex;
  justify-content: center;
  gap: 28px;
}
.topnav-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
  position: relative;
  padding: 6px 2px;
}
.topnav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transition: right .4s cubic-bezier(.2,.7,.2,1);
}
.topnav-link:hover::after { right: 0; }
.nav-num { font-size: 10px; }

.topnav-item {
  position: relative;
}
.topnav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: color-mix(in oklab, var(--topbar-bg) 96%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: var(--rule);
  border-radius: 8px;
  padding: 16px 0 6px;
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 50;
}
.topnav-item.has-dropdown:hover .topnav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.topnav-dropdown-item {
  display: block;
  padding: 9px 18px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink);
  white-space: nowrap;
  transition: color .2s ease;
  opacity: 0.7;
}
.topnav-dropdown-item:hover { color: var(--accent); opacity: 1; }

.topbar-end { display: flex; align-items: center; gap: 18px; justify-self: end; }
.shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.12em;
  transition: background .25s ease, color .25s ease;
}
.shop-btn:hover { background: var(--ink); color: var(--bg); }
.shop-btn-arrow { font-size: 12px; line-height: 1; }
@media (max-width: 860px) {
  .shop-btn { padding: 6px 12px; font-size: 10px; }
}
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
}
.lang-btn { opacity: 0.4; padding: 4px 2px; transition: opacity .2s; }
.lang-btn.is-on { opacity: 1; }
.lang-btn:hover { opacity: 1; }
.lang-sep { opacity: 0.3; }

@media (max-width: 860px) {
  .topnav { display: none; }
  .topbar-inner { grid-template-columns: auto 1fr auto; }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 120px;
  padding-bottom: 60px;
  padding-inline: var(--pad-x);
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
}
.hero-topline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 16px;
  border-bottom: var(--rule);
}
.hero-topline-mid { display: flex; gap: 18px; }

.hero-main {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  padding: 56px 0 120px;
  align-items: end;
}
.hero-headline {
  grid-column: 1 / span 9;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(64px, 10.4vw, 176px);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0;
}
.hero-headline .line { display: block; }
.hero-headline .line + .line { padding-left: clamp(40px, 10vw, 160px); }
.hero-headline .accent { color: var(--accent); font-style: italic; }
.hero-headline .dot {
  display: inline-block;
  width: 0.22em; height: 0.22em;
  border-radius: 50%;
  background: var(--accent);
  margin-left: 0.14em;
  transform: translateY(0.15em);
}

.hero-side {
  grid-column: 10 / span 3;
  display: flex; flex-direction: column; gap: 14px;
  padding-bottom: 12px;
}
.hero-side-label { color: var(--muted); }
.hero-side-body {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 2.1;
  max-width: none;
  white-space: normal;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 18px;
  border-top: var(--rule);
}
.hero-scroll {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--muted);
}
.hero-scroll-arrow {
  width: 28px; height: 1px; background: currentColor; position: relative;
}
.hero-scroll-arrow::after {
  content: ""; position: absolute; right: -1px; top: -3px;
  width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(-45deg);
}
.hero-locale { justify-self: end; color: var(--muted); }

@media (max-width: 860px) {
  .hero-main { padding: 20px 0 60px; }
  .hero-headline { grid-column: 1 / -1; font-size: clamp(56px, 15vw, 112px); }
  .hero-side { grid-column: 1 / -1; }
  .hero-headline .line + .line { padding-left: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: var(--rule);
  border-bottom: var(--rule);
  background: var(--bg);
  padding: 14px 0;
}
.marquee-track {
  display: inline-flex; gap: 40px;
  white-space: nowrap;
  animation: marquee 50s linear infinite;
  padding-left: 40px;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 16px; }
.marquee-dot { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; display: inline-block; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Section ---------- */
section { scroll-margin-top: 80px; }
/* Legacy safeguard: hide any accidentally rendered home Value block. */
section#value { display: none !important; }
.section {
  padding: 160px 0 60px;
  border-top: var(--rule);
}
.section-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  padding-bottom: 80px;
}
.section-eyebrow { grid-column: 1 / span 2; padding-top: 6px; }
.section-title {
  grid-column: 3 / span 10;
  transition: color .35s ease;
  cursor: default;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0;
}
.section-title .line { display: block; }
.section-title:hover { color: var(--accent); }
.section-title.is-large {
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.02;
}

@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; }
  .section-eyebrow { grid-column: 1 / -1; }
  .section-title { grid-column: 1 / -1; font-size: clamp(24px, 6vw, 36px); }
  .section-title.is-large { font-size: clamp(38px, 10vw, 60px); }
}

/* ---------- About / philosophy ---------- */
.about-body {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  padding-inline: var(--pad-x);
  padding-bottom: 120px;
}
.about-copy {
  grid-column: 4 / span 6;
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.85;
  white-space: pre-line;
}
.about-meta {
  grid-column: 11 / span 2;
  padding-top: 6px;
  color: var(--muted);
}
@media (max-width: 860px) {
  .about-copy { grid-column: 1 / -1; }
  .about-meta { grid-column: 1 / -1; }
}

/* ---------- Services ---------- */
.services-list {
  border-top: 1px solid var(--line-strong);
}
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr 40px;
  gap: 24px;
  color: inherit;
  text-decoration: none;
  align-items: start;
  padding: 28px var(--pad-x);
  border-bottom: var(--rule);
  transition: background .4s ease, color .4s ease;
  position: relative;
}
.service-row:hover { color: var(--accent); }
.service-row:hover .service-num { color: var(--accent); }
.service-row:hover .service-title { color: var(--accent); }
.service-row:hover .service-body { color: var(--accent); }
.service-row:hover .service-arrow { transform: translateX(6px); color: var(--accent); }
.service-num { color: var(--muted); padding-top: 4px; }
.service-title {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.2;
  margin: 0;
  font-weight: 400;
}
.service-body { font-size: 15px; line-height: 1.6; padding-top: 6px; max-width: 48ch; white-space: pre-line; }
.service-arrow { padding-top: 10px; transition: transform .4s ease, color .4s ease; font-size: 18px; }

@media (max-width: 860px) {
  .service-row { grid-template-columns: 60px 1fr; }
  .service-body { grid-column: 1 / -1; }
  .service-arrow { display: none; }
}

/* ---------- Products ---------- */
.products {
  padding-inline: var(--pad-x);
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card { display: flex; flex-direction: column; gap: 18px; }
.product-card.p1,
.product-card.p2,
.product-card.p3 { grid-column: auto; padding-top: 0; }
.product-card.is-link {
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s ease;
}
.product-card.is-link:hover { transform: translateY(-2px); }
.product-card.is-link:hover .product-name,
.product-card.is-link:hover .product-body,
.product-card.is-link:hover .product-meta { color: var(--accent); }
.product-card.is-link .ph { transition: opacity 0.25s ease; }
.product-card.is-link:hover .ph { opacity: 0.92; }
.product-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 10px;
  border-top: var(--rule);
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.product-more .service-arrow { color: var(--accent); }
.product-meta { display: flex; justify-content: space-between; align-items: baseline; border-top: var(--rule); padding-top: 12px; }
.product-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.1;
  margin: 6px 0;
  letter-spacing: -0.005em;
}
.product-body { font-size: 15px; line-height: 1.6; max-width: none; color: var(--ink-2); white-space: pre-line; }

@media (max-width: 860px) {
  .products { grid-template-columns: 1fr; }
  .product-card.p1, .product-card.p2, .product-card.p3 { grid-column: 1 / -1; padding-top: 0; }
}

/* ---------- Work table ---------- */
.work-table {
  border-top: 1px solid var(--line-strong);
}
.work-head, .work-row {
  display: grid;
  grid-template-columns: 60px 2.2fr 1fr 1fr 1fr 50px;
  gap: 20px;
  align-items: baseline;
  padding: 22px var(--pad-x);
  border-bottom: var(--rule);
}
.work-head { padding-top: 14px; padding-bottom: 14px; color: var(--muted); }
.work-row { transition: background .3s ease; cursor: pointer; }
.work-row:hover { background: color-mix(in oklab, var(--ink) 5%, transparent); }
.work-client { font-family: var(--serif); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.3; }
.work-desc { grid-column: 2 / span 3; font-size: 14px; color: var(--ink-2); padding-top: 4px; max-width: 80ch; }
.work-row-expand {
  display: grid;
  grid-template-columns: 60px 2.2fr 1fr 1fr 1fr 50px;
  gap: 20px;
}
.work-tag {
  display: inline-block; padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--bg-2);
  transition: background .3s ease, border-color .3s ease, color .3s ease;
}

@media (max-width: 860px) {
  .work-head { display: none; }
  .work-row { grid-template-columns: 50px 1fr; gap: 12px; }
  .work-row > * { grid-column: 2; }
  .work-row > .mono:first-child { grid-column: 1; grid-row: 1; }
  .work-desc { grid-column: 1 / -1; }
}

/* ---------- Work marquee (infinite scroll) ---------- */
.work-marquee {
  overflow: hidden;
  width: 100%;
  margin-top: 60px;
  /* fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.work-marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: work-scroll 55s linear infinite;
}
.work-marquee:hover .work-marquee-track {
  animation-play-state: paused;
}
@keyframes work-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.work-card {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
  transition: color .3s ease;
}
.work-card:hover { color: var(--accent); }
.work-card:hover .work-card-meta,
.work-card:hover .work-card-desc { color: var(--accent); }
.work-card:hover .work-tag { color: var(--accent); border-color: var(--accent); }
.work-card .ph { width: 100%; transition: opacity .3s ease; }
.work-card:hover .ph { opacity: 0.88; }
.work-card-body { display: flex; flex-direction: column; gap: 6px; padding: 0 2px; }
.work-card-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.work-card-client {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  margin: 2px 0 0;
}
.work-card-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  white-space: pre-line;
}
.work-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}

@media (max-width: 720px) {
  .work-card { width: 260px; }
  .work-marquee-track { gap: 14px; }
}

/* ---------- Work case (work.html) ---------- */
.work-case {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.work-case.is-featured { grid-column: auto; }
.work-case-media { width: 100%; }
.work-case-media .ph { width: 100%; }
.work-case-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.work-case-client {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  margin: 2px 0 0;
}
.work-case-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-2);
  margin: 0;
  white-space: pre-line;
}
.work-case-sector {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--bg);
  color: var(--ink);
  padding: 160px var(--pad-x) 100px;
  border-top: var(--rule);
}
.contact-inner {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.contact-eyebrow { grid-column: 1 / span 2; color: var(--muted); }
.contact-title {
  grid-column: 3 / span 9;
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 48px;
  font-weight: 400;
}
.contact-title .accent { color: var(--accent); }
.contact-body {
  grid-column: 3 / span 5;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
}
.contact-cta {
  grid-column: 8 / span 5;
  display: flex; flex-direction: column; gap: 14px;
  align-items: flex-start;
}
.contact-email {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.1;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 6px;
  transition: border-color .3s, color .3s;
}
.contact-email:hover { border-color: var(--accent); color: var(--accent); }
.contact-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  transition: background .3s, color .3s, border-color .3s;
}
.contact-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.contact-reply {
  font-size: 13px;
  color: var(--muted);
  margin: -6px 0 4px;
}

.contact-info-rows {
  width: 100%;
  margin-top: 8px;
  border-top: var(--rule);
}
.contact-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: var(--rule);
  gap: 16px;
}
.contact-info-row-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  flex-shrink: 0;
}
.contact-info-row-value {
  font-family: var(--serif);
  font-size: 15px;
  text-align: right;
}

@media (max-width: 860px) {
  .contact-eyebrow, .contact-title, .contact-body, .contact-cta { grid-column: 1 / -1; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: color-mix(in oklab, var(--bg) 70%, transparent);
  padding: 40px var(--pad-x);
  border-top: 1px solid color-mix(in oklab, var(--bg) 15%, transparent);
  font-size: 12px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
}
.footer-links { display: flex; gap: 18px; justify-self: center; grid-column: 2; }
.footer-copy { justify-self: end; font-family: var(--mono); letter-spacing: 0.08em; grid-column: 3; }
@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr; gap: 10px; text-align: left; }
  .footer-links, .footer-copy { justify-self: start; }
}

/* ---------- Placeholder ---------- */
.ph {
  width: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.ph-label, .ph-corner {
  position: absolute;
  padding: 10px 12px;
}
.ph-label { top: 0; left: 0; }
.ph-corner { bottom: 0; right: 0; opacity: 0.6; }

/* ---------- Tweaks panel ---------- */
.tweaks {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  padding: 16px 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  min-width: 220px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.tweaks-title {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 14px;
  color: var(--muted);
}
.tweaks-row { display: flex; align-items: center; justify-content: space-between; margin: 8px 0; }
.tweaks-swatches { display: inline-flex; gap: 6px; }
.swatch {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  padding: 0;
}
.swatch.is-on { outline: 2px solid var(--ink); outline-offset: 2px; }
.tweaks-close { cursor: pointer; }

/* ---------- Spacing helper ---------- */
.section-foot-spacer { height: 40px; }

/* ---------- Contact page ---------- */
.hero-headline.contact-headline {
  font-size: clamp(44px, 6.6vw, 104px);
  line-height: 1.1;
}
.hero-headline.contact-headline .line + .line { padding-left: clamp(24px, 5vw, 72px); }
@media (max-width: 860px) {
  .hero-headline.contact-headline { font-size: clamp(34px, 9vw, 64px); }
  .hero-headline.contact-headline .line + .line { padding-left: 0; }
}

.contact-info-section { padding-top: 20px; padding-bottom: 20px; }
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 32px var(--pad-x);
  border-top: var(--rule);
  border-bottom: var(--rule);
}
.contact-info-block { display: flex; flex-direction: column; gap: 8px; }
.contact-info-label { color: var(--muted); font-size: 11px; letter-spacing: 0.12em; }
.contact-info-value {
  font-family: var(--serif);
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink);
  text-decoration: none;
}
a.contact-info-value { border-bottom: 1px solid transparent; transition: border-color .2s; }
a.contact-info-value:hover { border-bottom-color: var(--ink); }

.contact-form-section { padding-top: 80px; padding-bottom: 120px; }
.contact-form-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.contact-form-head { margin-bottom: 48px; }
.contact-form-eyebrow { color: var(--muted); margin-bottom: 16px; }
.contact-form-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.2;
  margin: 0 0 12px;
}
.contact-form-lead {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-2);
  margin: 0;
}

.contact-form { display: flex; flex-direction: column; gap: 28px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ink);
}
.form-label-text { font-weight: 500; }
.form-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.4;
}
.form-badge.is-req {
  background: var(--accent);
  color: var(--accent-ink, #fff);
  border: 1px solid var(--accent);
}
.form-badge.is-opt {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line-strong);
}

.form-input {
  width: 100%;
  font: inherit;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: none;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 12px 2px;
  outline: none;
  transition: border-color .2s;
}
.form-input:focus { border-bottom-color: var(--ink); }
.form-input::placeholder { color: var(--muted); }

.form-textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.7;
}

.form-select-wrap { position: relative; }
.form-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 28px;
  background-image: none;
  cursor: pointer;
}
.form-select-arrow {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 12px;
  pointer-events: none;
}

.form-privacy { margin-top: 8px; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  margin-top: 3px;
}
.form-privacy-link {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.form-submit {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.form-submit-btn {
  border: 1px solid var(--ink);
  padding: 14px 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--bg);
  cursor: pointer;
  transition: background .2s, color .2s, opacity .2s;
}
.form-submit-btn:hover:not(:disabled) {
  background: var(--bg);
  color: var(--ink);
}
.form-submit-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.form-mail-fallback { color: var(--muted); font-size: 11px; letter-spacing: 0.08em; }
.form-mail-fallback a { color: var(--ink); border-bottom: 1px solid var(--ink); }

.contact-thanks {
  padding: 40px 0 60px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-thanks-mail { color: var(--muted); margin-top: 8px; }
.contact-thanks-mail a { color: var(--ink); border-bottom: 1px solid var(--ink); }

@media (max-width: 860px) {
  .contact-info-grid { grid-template-columns: 1fr; gap: 18px; padding: 24px var(--pad-x); }
  .contact-form-section { padding-top: 56px; padding-bottom: 80px; }
}
