:root {
  --rd-color-base: #0f0f0f;
  --rd-color-surface: #1a1a1a;
  --rd-color-surface-strong: #222222;
  --rd-color-text: #ffffff;
  --rd-color-muted: #b8b8b8;
  --rd-color-faint: rgba(255, 255, 255, 0.08);
  --rd-color-accent: #f37021;
  --rd-color-accent-deep: #c95a13;
  --rd-font-heading: "Inter", "Helvetica Neue", Arial, sans-serif;
  --rd-font-title: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --rd-font-body: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  --rd-width-content: 1120px;
  --rd-header-height: 78px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--rd-header-height);
}

body {
  margin: 0;
  background: var(--rd-color-base);
  color: var(--rd-color-text);
  font-family: var(--rd-font-body);
  font-size: 16px;
  line-height: 1.8;
}

body.rd-is-menu-open {
  overflow: hidden;
}

body.rd-is-gallery-open {
  overflow: hidden;
}

.rd-page-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  user-select: none;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.rd-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rd-skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--rd-color-accent);
  color: #111111;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.rd-skip-link:focus {
  transform: translateY(0);
}

.rd-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--rd-header-height);
  background: rgba(15, 15, 15, 0.88);
  border-bottom: 1px solid var(--rd-color-faint);
  backdrop-filter: blur(18px);
}

.rd-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 40px, var(--rd-width-content));
  height: 100%;
  margin-inline: auto;
}

.rd-header__brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  flex: 0 0 auto;
  text-decoration: none;
}

.rd-header__logo {
  width: clamp(140px, 14vw, 180px);
  height: auto;
}

.rd-header__brand-sub {
  color: var(--rd-color-muted);
  font-family: var(--rd-font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.rd-nav__list {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rd-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--rd-color-muted);
  font-family: var(--rd-font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.rd-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 7px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--rd-color-accent);
  transition: transform 0.2s ease;
}

.rd-nav__link:hover,
.rd-nav__link:focus-visible {
  color: var(--rd-color-text);
}

.rd-nav__link:hover::after,
.rd-nav__link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.rd-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--rd-color-faint);
  border-radius: 4px;
  background: transparent;
  color: var(--rd-color-text);
  cursor: pointer;
}

.rd-menu-button__line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.rd-menu-button[aria-expanded="true"] .rd-menu-button__line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.rd-menu-button[aria-expanded="true"] .rd-menu-button__line:nth-child(2) {
  opacity: 0;
}

.rd-menu-button[aria-expanded="true"] .rd-menu-button__line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.rd-main {
  overflow: hidden;
}

.rd-hero {
  position: relative;
  min-height: calc(100svh - var(--rd-header-height));
  display: grid;
  align-items: center;
  isolation: isolate;
  padding: 96px 0;
  border-bottom: 1px solid var(--rd-color-faint);
}

.rd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(15, 15, 15, 0.98) 0%, rgba(15, 15, 15, 0.86) 48%, rgba(15, 15, 15, 0.36) 100%),
    radial-gradient(circle at 76% 26%, rgba(243, 112, 33, 0.14), transparent 32%),
    linear-gradient(135deg, #0f0f0f 0%, #181818 46%, #050505 100%);
}

.rd-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent, #000 26%, #000 80%, transparent);
}

.rd-hero__inner {
  width: min(100% - 40px, var(--rd-width-content));
  margin-inline: auto;
}

.rd-hero__label {
  margin: 0 0 18px;
  color: var(--rd-color-accent);
  font-family: var(--rd-font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: rd-rise-in 0.8s ease both;
}

.rd-hero__title {
  max-width: 900px;
  margin: 0;
  color: var(--rd-color-text);
  font-family: var(--rd-font-title);
  font-size: clamp(54px, 11vw, 136px);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.48);
  animation: rd-rise-in 0.9s 0.08s ease both;
}

.rd-hero__logo {
  width: min(78vw, 640px);
  height: auto;
  filter: drop-shadow(0 18px 48px rgba(0, 0, 0, 0.48));
}

.rd-hero__lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 2;
  animation: rd-rise-in 0.9s 0.18s ease both;
}

.rd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
  animation: rd-rise-in 0.9s 0.28s ease both;
}

.rd-entrance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 880px;
  margin-top: 46px;
  animation: rd-rise-in 0.9s 0.38s ease both;
}

.rd-entrance-card {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 132px;
  padding: 20px;
  overflow: hidden;
  background: rgba(26, 26, 26, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.rd-entrance-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--rd-color-accent);
  transform: scaleY(0.38);
  transform-origin: top;
  transition: transform 0.2s ease;
}

.rd-entrance-card::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 16px;
  color: var(--rd-color-accent);
  font-family: var(--rd-font-heading);
  font-size: 16px;
  line-height: 1;
}

.rd-entrance-card:hover,
.rd-entrance-card:focus-visible {
  transform: translateY(-6px);
  background: rgba(34, 34, 34, 0.92);
  border-color: rgba(243, 112, 33, 0.52);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.32);
}

.rd-entrance-card:hover::before,
.rd-entrance-card:focus-visible::before {
  transform: scaleY(1);
}

.rd-entrance-card__label {
  color: var(--rd-color-accent);
  font-family: var(--rd-font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rd-entrance-card__title {
  padding-right: 24px;
  font-family: var(--rd-font-heading);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
}

.rd-entrance-card__url {
  align-self: end;
  color: var(--rd-color-muted);
  font-family: var(--rd-font-heading);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.rd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--rd-font-heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rd-button:hover,
.rd-button:focus-visible {
  transform: translateY(-3px);
}

.rd-button--primary {
  background: var(--rd-color-accent);
  border-color: var(--rd-color-accent);
  color: #111111;
}

.rd-button--primary:hover,
.rd-button--primary:focus-visible {
  background: #ff9a4a;
  border-color: #ff9a4a;
}

.rd-button--secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--rd-color-text);
}

.rd-button--secondary:hover,
.rd-button--secondary:focus-visible {
  border-color: var(--rd-color-accent);
  color: var(--rd-color-accent);
}

.rd-hero__visual {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.rd-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  filter: contrast(1.04);
}

.rd-section {
  position: relative;
  padding: 104px 0;
}

.rd-section:nth-of-type(even) {
  background: #121212;
}

.rd-section.rd-section--light {
  background: #f4f4f2;
  color: #111111;
}

.rd-parallax {
  position: relative;
  width: 100%;
  --rd-parallax-y: 0px;
  min-height: clamp(220px, 32vw, 360px);
  overflow: hidden;
  background-color: #808080;
  background-blend-mode: luminosity;
  background-image: url("../images/rock-design.png");
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center calc(50% + var(--rd-parallax-y));
  border-block: 1px solid var(--rd-color-faint);
}

.rd-parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 15, 15, 0.88), transparent 38%, rgba(15, 15, 15, 0.78)),
    radial-gradient(circle at 78% 24%, rgba(243, 112, 33, 0.14), transparent 28%);
  pointer-events: none;
}

.rd-parallax--brand {
  min-height: clamp(180px, 31.25vw, 360px);
  background-image: url("../images/para_bg_001.jpg");
}

.rd-parallax--photo {
  background-image: url("../images/para_bg_002.jpg");
}

.rd-parallax--artwork {
  background-image: url("../images/para_bg_003.jpg");
}

.rd-section__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--rd-width-content));
  margin-inline: auto;
}

.rd-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.rd-reveal.rd-is-visible {
  opacity: 1;
  transform: translateY(0);
}

.rd-reveal:nth-child(2) {
  transition-delay: 0.06s;
}

.rd-reveal:nth-child(3) {
  transition-delay: 0.12s;
}

.rd-reveal:nth-child(4) {
  transition-delay: 0.18s;
}

.rd-reveal:nth-child(5) {
  transition-delay: 0.24s;
}

.rd-reveal:nth-child(6) {
  transition-delay: 0.3s;
}

.rd-section__head {
  max-width: 720px;
  margin-bottom: 44px;
}

.rd-section__head--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  max-width: none;
}

.rd-section__kicker {
  margin: 0 0 10px;
  color: var(--rd-color-accent);
  font-family: var(--rd-font-heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rd-section__title {
  margin: 0;
  color: var(--rd-color-text);
  font-family: var(--rd-font-title);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.18;
}

.rd-section__note {
  max-width: 420px;
  margin: 0;
  color: var(--rd-color-muted);
  font-size: 14px;
}

.rd-section--light .rd-section__title {
  color: #111111;
}

.rd-section--light .rd-section__note,
.rd-section--light .rd-contact__lead,
.rd-section--light .rd-works-card__text {
  color: #555555;
}

.rd-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 52px;
  align-items: start;
}

.rd-about__content {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-left: 28px;
  border-left: 2px solid var(--rd-color-accent);
}

.rd-about__media {
  min-width: 0;
}

.rd-about__photo {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1;
  background: #dddddd;
  border-radius: 8px;
}

.rd-about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rd-about__text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.rd-about__text p + p {
  margin-top: 1.2em;
}

.rd-section--light .rd-about__text p {
  color: #333333;
}

.rd-profile {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rd-color-faint);
}

.rd-section--light .rd-profile {
  border-top-color: rgba(17, 17, 17, 0.14);
}

.rd-profile__row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rd-color-faint);
}

.rd-section--light .rd-profile__row {
  border-bottom-color: rgba(17, 17, 17, 0.14);
}

.rd-profile__term {
  color: var(--rd-color-accent);
  font-family: var(--rd-font-heading);
  font-size: 13px;
  font-weight: 800;
}

.rd-profile__desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.rd-section--light .rd-profile__desc {
  color: #222222;
}

.rd-profile-social {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.rd-profile-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 4px;
  color: #111111;
  font-family: var(--rd-font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rd-profile-social__link:hover,
.rd-profile-social__link:focus-visible {
  transform: translateY(-2px);
  background: var(--rd-color-accent);
  border-color: var(--rd-color-accent);
  color: #111111;
}

.rd-works__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.rd-works-card {
  overflow: hidden;
  background: var(--rd-color-surface);
  border: 1px solid var(--rd-color-faint);
  border-radius: 8px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.rd-works-card:hover {
  transform: translateY(-8px);
  border-color: rgba(243, 112, 33, 0.42);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.18);
}

.rd-works-card__body {
  padding: 24px;
}

.rd-works-card__category {
  margin: 0 0 8px;
  color: var(--rd-color-accent);
  font-family: var(--rd-font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rd-works-card__title {
  margin: 0;
  font-family: var(--rd-font-heading);
  font-size: 20px;
  line-height: 1.35;
}

.rd-works-card__text {
  margin: 12px 0 0;
  color: var(--rd-color-muted);
  font-size: 14px;
  line-height: 1.8;
}

.rd-section--light .rd-works-card {
  background: #ffffff;
  border-color: rgba(17, 17, 17, 0.1);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}

.rd-section--light .rd-works-card__title {
  color: #111111;
}

.rd-gallery {
  margin-top: 64px;
}

.rd-gallery__head {
  margin-bottom: 24px;
}

.rd-gallery__title {
  margin: 0;
  color: #111111;
  font-family: var(--rd-font-title);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.rd-gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.rd-gallery__loading {
  grid-column: 1 / -1;
  margin: 0;
  color: #555555;
  font-family: var(--rd-font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rd-gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 0;
  background: #151515;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.1);
  aspect-ratio: 1;
}

.rd-gallery__item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.rd-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform 0.55s ease, filter 0.55s ease;
}

.rd-gallery__item:hover img,
.rd-gallery__item:focus-visible img {
  transform: scale(1.06);
  filter: grayscale(0) contrast(1.06);
}

.rd-gallery__caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 6px 8px;
  background: rgba(17, 17, 17, 0.58);
  color: #ffffff;
  font-family: var(--rd-font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.rd-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.rd-gallery-modal.rd-is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.rd-gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.82);
  cursor: pointer;
}

.rd-gallery-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1080px);
  max-height: min(88svh, 920px);
}

.rd-gallery-modal__image {
  width: 100%;
  max-height: min(88svh, 920px);
  object-fit: contain;
  background: #111111;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.rd-gallery-modal__close {
  position: absolute;
  right: -12px;
  top: -12px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: #111111;
  color: #ffffff;
  font-family: var(--rd-font-heading);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.rd-gallery-modal__close:hover,
.rd-gallery-modal__close:focus-visible {
  background: var(--rd-color-accent);
  color: #111111;
}

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

.rd-service-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 104px;
  padding: 20px;
  background: var(--rd-color-surface);
  border: 1px solid var(--rd-color-faint);
  border-radius: 8px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.rd-service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(243, 112, 33, 0.42);
}

.rd-service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(243, 112, 33, 0.5);
  border-radius: 50%;
  color: var(--rd-color-accent);
  font-family: var(--rd-font-heading);
  font-size: 12px;
  font-weight: 800;
}

.rd-service-card__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

.rd-service__actions {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

.rd-service__button {
  min-width: min(100%, 420px);
  min-height: 64px;
  padding-inline: 42px;
  font-size: 17px;
}

.rd-contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 56px;
  align-items: start;
}

.rd-contact__lead {
  max-width: 460px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.rd-contact-form {
  padding: 32px;
  background: var(--rd-color-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.rd-section--light .rd-contact-form {
  background: #ffffff;
  border-color: rgba(17, 17, 17, 0.12);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}

.rd-contact-form__field {
  margin-bottom: 20px;
}

.rd-contact-form__label {
  display: block;
  margin-bottom: 8px;
  color: var(--rd-color-muted);
  font-size: 14px;
  font-weight: 700;
}

.rd-section--light .rd-contact-form__label {
  color: #333333;
}

.rd-contact-form__input,
.rd-contact-form__textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  background: #101010;
  color: var(--rd-color-text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rd-section--light .rd-contact-form__input,
.rd-section--light .rd-contact-form__textarea {
  background: #f7f7f7;
  border-color: rgba(17, 17, 17, 0.16);
  color: #111111;
}

.rd-contact-form__input {
  min-height: 50px;
  padding: 12px 14px;
}

.rd-contact-form__textarea {
  min-height: 160px;
  padding: 14px;
  resize: vertical;
}

.rd-contact-form__input:focus,
.rd-contact-form__textarea:focus {
  border-color: var(--rd-color-accent);
  box-shadow: 0 0 0 3px rgba(243, 112, 33, 0.18);
}

.rd-contact-form__input[aria-invalid="true"] {
  border-color: rgba(255, 110, 110, 0.86);
}

.rd-contact-form__error {
  min-height: 1.6em;
  margin: 6px 0 0;
  color: #ff9a9a;
  font-size: 13px;
  line-height: 1.6;
}

.rd-contact-form__button {
  width: 100%;
  margin-top: 4px;
}

.rd-form-page {
  min-height: calc(100svh - var(--rd-header-height));
  display: grid;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(243, 112, 33, 0.14), transparent 34%),
    #101010;
}

.rd-form-page__inner {
  max-width: 820px;
}

.rd-form-page__lead {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.rd-confirm-list {
  margin: 34px 0 0;
  padding: 0;
  overflow: hidden;
  background: var(--rd-color-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.rd-confirm-list__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--rd-color-faint);
}

.rd-confirm-list__row:last-child {
  border-bottom: 0;
}

.rd-confirm-list__term {
  color: var(--rd-color-accent);
  font-weight: 700;
}

.rd-confirm-list__desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  overflow-wrap: anywhere;
}

.rd-form-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.rd-form-message {
  margin-top: 28px;
  padding: 20px 22px;
  background: var(--rd-color-surface);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.rd-form-message p {
  margin: 0;
}

.rd-form-message p + p {
  margin-top: 6px;
}

.rd-form-message--error {
  border-color: rgba(214, 90, 90, 0.72);
}

.rd-footer {
  padding: 28px 0;
  background: #090909;
  border-top: 1px solid var(--rd-color-faint);
}

.rd-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - 40px, var(--rd-width-content));
  margin-inline: auto;
}

.rd-footer__copy {
  margin: 0;
}

.rd-footer__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.rd-footer__logo {
  width: clamp(120px, 12vw, 150px);
  height: auto;
}

.rd-footer__copy {
  color: var(--rd-color-muted);
  font-family: var(--rd-font-heading);
  font-size: 12px;
}

@keyframes rd-rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .rd-section__head--split,
  .rd-about__grid,
  .rd-contact__inner {
    grid-template-columns: 1fr;
  }

  .rd-section__head--split {
    display: grid;
  }

  .rd-works__grid,
  .rd-service__grid,
  .rd-entrance {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --rd-header-height: 68px;
  }

  body.rd-is-menu-open .rd-header {
    background: rgba(15, 15, 15, 0.98);
  }

  .rd-header__inner {
    width: min(100% - 28px, var(--rd-width-content));
  }

  .rd-header__logo {
    width: 148px;
  }

  .rd-menu-button {
    display: inline-block;
  }

  .rd-nav {
    position: fixed;
    inset: var(--rd-header-height) 0 auto 0;
    display: none;
    padding: 18px 20px 26px;
    background: rgba(15, 15, 15, 0.98);
    border-bottom: 1px solid var(--rd-color-faint);
  }

  .rd-nav.rd-is-open {
    display: block;
  }

  .rd-nav__list {
    display: grid;
    gap: 4px;
    width: min(100%, var(--rd-width-content));
    margin-inline: auto;
  }

  .rd-nav__link {
    width: 100%;
    min-height: 50px;
    font-size: 15px;
  }

  .rd-hero {
    min-height: auto;
    padding: 86px 0 76px;
  }

  .rd-hero__image {
    opacity: 0.34;
  }

  .rd-hero__inner,
  .rd-section__inner,
  .rd-footer__inner {
    width: min(100% - 28px, var(--rd-width-content));
  }

  .rd-hero__title {
    font-size: clamp(48px, 16vw, 78px);
  }

  .rd-hero__lead {
    font-size: 15px;
  }

  .rd-hero__actions {
    display: grid;
  }

  .rd-entrance {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 34px;
  }

  .rd-entrance-card {
    min-height: 106px;
    padding: 17px 18px;
  }

  .rd-entrance-card__title {
    font-size: 15px;
  }

  .rd-button {
    width: 100%;
  }

  .rd-section {
    padding: 76px 0;
  }

  .rd-parallax {
    min-height: 190px;
    background-attachment: scroll;
    background-size: cover;
  }

  .rd-parallax--brand {
    min-height: clamp(130px, 31.25vw, 190px);
    background-size: 100% auto;
  }

  .rd-parallax--brand,
  .rd-parallax--photo,
  .rd-parallax--artwork {
    background-position: center calc(50% + var(--rd-parallax-y));
  }

  .rd-about__content {
    grid-template-columns: 1fr;
    padding-left: 18px;
  }

  .rd-about__photo {
    max-width: 320px;
  }

  .rd-profile__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .rd-works__grid,
  .rd-service__grid {
    grid-template-columns: 1fr;
  }

  .rd-gallery {
    margin-top: 48px;
  }

  .rd-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .rd-gallery__item--large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .rd-gallery-modal {
    padding: 18px;
  }

  .rd-gallery-modal__close {
    right: 8px;
    top: 8px;
  }

  .rd-service-card {
    min-height: 92px;
  }

  .rd-contact__inner {
    gap: 36px;
  }

  .rd-contact-form {
    padding: 22px;
  }

  .rd-confirm-list__row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px;
  }

  .rd-form-page__actions {
    display: grid;
  }

  .rd-footer__inner {
    display: grid;
    gap: 8px;
  }
}

@media (max-width: 380px) {
  .rd-entrance-card__title {
    font-size: 14px;
  }

  .rd-gallery__grid {
    grid-template-columns: 1fr;
  }

  .rd-gallery__item--large {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .rd-parallax {
    background-attachment: scroll;
  }

  .rd-reveal {
    opacity: 1;
    transform: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
